SOURCES: sysvinit-alt-fixes.patch - use execle, or the env would b...
glen
glen at pld-linux.org
Tue Nov 13 11:07:31 CET 2007
Author: glen Date: Tue Nov 13 10:07:31 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use execle, or the env would be pointless
---- Files affected:
SOURCES:
sysvinit-alt-fixes.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/sysvinit-alt-fixes.patch
diff -u SOURCES/sysvinit-alt-fixes.patch:1.2 SOURCES/sysvinit-alt-fixes.patch:1.3
--- SOURCES/sysvinit-alt-fixes.patch:1.2 Tue Nov 13 11:05:51 2007
+++ SOURCES/sysvinit-alt-fixes.patch Tue Nov 13 11:07:26 2007
@@ -56,7 +56,7 @@
+ * The existing init process execs a new init binary.
+ */
+ env = init_buildenv(0);
-+ execl(myname, myname, "--init", NULL, env);
++ execle(myname, myname, "--init", NULL, env);
+ }
/*
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/sysvinit-alt-fixes.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list