]> Dogcows Code - chaz/tar/commitdiff
* system.c (sys_spawn_shell): Cast trailing null to (char *).
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Oct 2003 05:41:15 +0000 (05:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Oct 2003 05:41:15 +0000 (05:41 +0000)
ChangeLog
src/system.c

index ca663573db7115678a346f76cc903181107a8e49..aa34520026eb1fb16eff6f897b2f1e90a4992957 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-26  Paul Eggert  <eggert@twinsun.com>
+
+       * system.c (sys_spawn_shell): Cast trailing null to (char *).
+       Bug reported by Christian Weisgerber.
+
 2003-10-19  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
 
        * AUTHORS: Updated
index 58069cd771de6b48fcbfa318ce48d1eec554ff15..3b8248063536011af8224af346d02b5f2e50b4b3 100644 (file)
@@ -214,7 +214,7 @@ sys_spawn_shell ()
   child = xfork ();
   if (child == 0)
     {
-      execlp (shell, "-sh", "-i", 0);
+      execlp (shell, "-sh", "-i", (char *) 0);
       exec_fatal (shell);
     }
   else
This page took 0.031986 seconds and 4 git commands to generate.