@@ -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
@@ -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