Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 5cda1af3c288b7816e52333e1ebde910 > files > 10

rsh-0.17-19.1mdv2008.0.src.rpm

--- netkit-rsh-0.17-pre20000412/rexecd/rexecd.c.varargs	2005-08-23 10:24:25.000000000 -0400
+++ netkit-rsh-0.17-pre20000412/rexecd/rexecd.c	2005-08-23 10:26:45.000000000 -0400
@@ -421,7 +421,7 @@ doit(struct sockaddr_in *fromp)
 #endif
 	for (ifd=3; ifd<OPEN_MAX; ifd++) close(ifd);
 
-	execle(theshell, cp2, "-c", cmdbuf, 0, myenviron);
+	execle(theshell, cp2, "-c", cmdbuf, NULL, myenviron);
 	perror(theshell);
 	exit(1);
 }
--- netkit-rsh-0.17-pre20000412/rshd/rshd.c.varargs	2005-08-23 10:24:25.000000000 -0400
+++ netkit-rsh-0.17-pre20000412/rshd/rshd.c	2005-08-23 10:25:23.000000000 -0400
@@ -486,7 +486,7 @@ doit(struct sockaddr_in *fromp)
 #endif
 	for (ifd=3; ifd<OPEN_MAX; ifd++) close(ifd);
 
-	execl(theshell, shellname, "-c", cmdbuf, 0);
+	execl(theshell, shellname, "-c", cmdbuf, NULL);
 	perror(theshell);
 	exit(1);
 }