Author: glen                         Date: Tue Nov 13 10:05:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adjust to our source

---- Files affected:
SOURCES:
   sysvinit-alt-fixes.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/sysvinit-alt-fixes.patch
diff -u SOURCES/sysvinit-alt-fixes.patch:1.1 
SOURCES/sysvinit-alt-fixes.patch:1.2
--- SOURCES/sysvinit-alt-fixes.patch:1.1        Tue Nov 13 11:02:39 2007
+++ SOURCES/sysvinit-alt-fixes.patch    Tue Nov 13 11:05:51 2007
@@ -42,7 +42,7 @@
        int             fd;
  
        if (strchr("S0123456",runlevel) == NULL)
-@@ -1882,11 +1885,13 @@ void re_exec(void)
+@@ -1885,11 +1885,13 @@
                exit(0);
        }
  
@@ -50,13 +50,13 @@
 -       *      The existing init process execs a new init binary.
 -       */
 -      env = init_buildenv(0);
--      execle(myname, myname, "--init", NULL, env);
+-      execl(myname, myname, "--init", NULL, env);
 +      if (pid > 0) {
 +              /*
 +               *      The existing init process execs a new init binary.
 +               */
 +              env = init_buildenv(0);
-+              execle(myname, myname, "--init", NULL, env);
++              execl(myname, myname, "--init", NULL, env);
 +      }
  
        /*
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/sysvinit-alt-fixes.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to