Index: trunk/src/sh_extern.c
===================================================================
--- trunk/src/sh_extern.c	(revision 287)
+++ trunk/src/sh_extern.c	(revision 289)
@@ -132,4 +132,6 @@
 
   /* Linux, HP-UX and FreeBSD will happily accept envp = argp = NULL
+   * (newer Linuxes (gcc 4.4.4) warn on argp == NULL, but accept it,
+   * as reported by T. Luettgert)
    * Solaris (and probably some other Unices) 
    *         needs a valid *envp[] with envp[0] = NULL;
@@ -420,5 +422,5 @@
 		  do {
 		    val_return = execve (pname, 
-					 (task->argc == 0) ? NULL : task->argv, 
+					 (task->argc == 0) ? argp : task->argv, 
 					 (task->envc == 0) ? NULL : task->envv
 					 );
