prefs_actions:
authorMelvin Hadasht <melvin.hadasht@free.fr>
Wed, 20 Feb 2002 13:40:36 +0000 (13:40 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Wed, 20 Feb 2002 13:40:36 +0000 (13:40 +0000)
Added error report when child cannot fork or when execvp
returns with an error.

ChangeLog.claws
configure.in
src/prefs_actions.c

index ebf71f72e44d0bea491a691a9f4406c964c40e3b..c0612f15e359840eb72b095e6fca531d99ee6dc7 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-20 [melvin]    0.7.2claws2
+
+       * src/prefs_actions.c
+               Added error report when child cannot fork or when execvp 
+               returns with an error.
+
 2002-02-19 [christoph] 0.7.2claws1
 
        * src/codeconv.c
index 6d691fe4f90827bcbe99fd5938c8ee58f99a209c..e2a91e8521c45eaf59e41ce87f1ecf17a142f78d 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws1
+EXTRA_VERSION=claws2
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index bce843abd6e2546f4516bce5d12b9f83d2af4edb..3bdc65bc264540e5a7fe7400302619f588f72dbb 100644 (file)
@@ -1199,11 +1199,13 @@ ChildInfo *fork_child(gchar *cmd,
                        cmdline = strsplit_with_quote(cmd, " ", 1024);
 
                        execvp(cmdline[0], cmdline);
+                       perror("execvp");
                        g_strfreev(cmdline);
 
                        _exit(1);
                } else if (pid_gc < (pid_t) 0) {/* Fork erro */
                        write(chld_status[1], "1\n", 2);
+                       perror("fork");
                        _exit(1);
                } else {/* Child */
                        close(chld_in[0]);