Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > c6d8198fd3a861c932152544cde921fd > files > 2

vile-9.5r-1mdv2008.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);