Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 4a3da1b1c83675d367eada49ad3cf1ec > files > 2

vile-9.7e-1mdv2009.0.src.rpm

--- vile-9.5/npopen.c.varargs	2005-01-22 19:59:40.000000000 -0500
+++ vile-9.5/npopen.c	2005-08-23 11:42:07.000000000 -0400
@@ -213,9 +213,9 @@ exec_sh_c(char *cmd)
 	    if (cmd[i] == '/')
 		cmd[i] = '\\';
 #endif
-	(void) execlp(sh, shname, SHELL_C, cmd, (void *) 0);
+	(void) execlp(sh, shname, SHELL_C, cmd, (void *) NULL);
     } else {
-	(void) execlp(sh, shname, (void *) 0);
+	(void) execlp(sh, shname, (void *) NULL);
     }
     (void) write(2, "exec failed\r\n", 14);
     exit(-1);