fixes a compilation issue with gcc 2.95. The intent is the same as
Gentoo's patch shadow-4.0.12-gcc2.patch.
+2007-11-14 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/newgrp.c, NEWS: Declare the child and pid variable at the
+ beginning of a block. This fixes a compilation issue with gcc 2.95.
+
2007-11-14 Nicolas François <nicolas.francois@centraliens.net>
* src/Makefile, NEWS: Add a suidperms variable. This should ease
directly give up.
- The permissions of the suid binaries is now configurable in
src/Makefile.am. Note that changing the permissions is not recommended.
+- newgrp.c: Declare the child and pid variable at the beginning of a block.
+ This fixes a compilation issue with gcc 2.95. The intent is the same as
+ Gentoo's patch shadow-4.0.12-gcc2.patch.
shadow-4.0.18.1 -> shadow-4.0.18.2 28-10-2007
* avoid any possibility of the parent being stopped when it
* receives SIGCHLD from the terminating subshell. -- JWP
*/
+ {
pid_t child, pid;
signal (SIGINT, SIG_IGN);
signal (SIGTSTP, SIG_DFL);
signal (SIGTTIN, SIG_DFL);
signal (SIGTTOU, SIG_DFL);
+ }
#endif /* USE_PAM */
}
#endif /* USE_SYSLOG */