diff --git a/pam-1.0.91-std-noclose.patch b/pam-1.0.91-std-noclose.patch index 2bbd82c..7359484 100644 --- a/pam-1.0.91-std-noclose.patch +++ b/pam-1.0.91-std-noclose.patch @@ -13,7 +13,7 @@ diff -up Linux-PAM-1.0.91/modules/pam_mkhomedir/pam_mkhomedir.c.std-noclose Linu + if (pipe(dummyfds) == 0) { + dup2(dummyfds[0], STDIN_FILENO); + dup2(dummyfds[1], STDOUT_FILENO); -+ dup2(dummyfds[2], STDERR_FILENO); ++ dup2(dummyfds[1], STDERR_FILENO); + } + if (getrlimit(RLIMIT_NOFILE, &rlim)==0) { diff --git a/pam.spec b/pam.spec index b7ca092..90214f8 100644 --- a/pam.spec +++ b/pam.spec @@ -315,7 +315,7 @@ fi %doc doc/adg/*.txt doc/adg/html %changelog -* Thu Mar 26 2009 Tomas Mraz 1.0.91-4 +* Thu Mar 26 2009 Tomas Mraz 1.0.91-5 - replace also other std descriptors (#491471) * Tue Mar 16 2009 Tomas Mraz 1.0.91-3