SOURCES (DEVEL): coreutils-pam.patch - xputenv has been replaced b...

sparky sparky at pld-linux.org
Tue Oct 31 21:09:32 CET 2006


Author: sparky                       Date: Tue Oct 31 20:09:32 2006 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- xputenv has been replaced by different xsetenv, use putenv() directly

---- Files affected:
SOURCES:
   coreutils-pam.patch (1.6.4.1 -> 1.6.4.2) 

---- Diffs:

================================================================
Index: SOURCES/coreutils-pam.patch
diff -u SOURCES/coreutils-pam.patch:1.6.4.1 SOURCES/coreutils-pam.patch:1.6.4.2
--- SOURCES/coreutils-pam.patch:1.6.4.1	Wed Oct 18 20:39:57 2006
+++ SOURCES/coreutils-pam.patch	Tue Oct 31 21:09:26 2006
@@ -518,7 +518,7 @@
 +  env = pam_getenvlist(pamh);
 +  if(env) {
 +    while(*env) {
-+	xputenv(*env);
++	if (putenv (*env) != 0) xalloc_die ();
 +	env++;
 +    }
 +  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/coreutils-pam.patch?r1=1.6.4.1&r2=1.6.4.2&f=u



More information about the pld-cvs-commit mailing list