aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/compose.c7
3 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1bbfdd01..1e89e585 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-05-28
+ * src/compose.c: compose_exec_ext_editor(): win32: fixed infinite loop when
+ pid was not obtained.
+
+2007-05-28
+
* src/filesel.c: filesel_select_file_full(): don't execute automatic
incorporation while dialog is open.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index f9b9279d..81fa72cf 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2007-05-28
+ * src/compose.c: compose_exec_ext_editor(): win32: pid を取得でき
+ なかった場合に無限ループに陥るのを修正。
+
+2007-05-28
+
* src/filesel.c: filesel_select_file_full(): ダイアログが開いている
間は自動受信を実行しないようにした。
diff --git a/src/compose.c b/src/compose.c
index b0b32bb4..34e3a1f1 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -5703,6 +5703,13 @@ static void compose_exec_ext_editor(Compose *compose)
g_free(tmp);
return;
}
+ if (pid == 0) {
+ g_warning("Couldn't get PID of external editor\n");
+ g_strfreev(cmdline);
+ g_unlink(tmp);
+ g_free(tmp);
+ return;
+ }
g_strfreev(cmdline);