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.
This commit is contained in:
nekral-guest
2007-11-14 13:46:15 +00:00
parent 15f43716c1
commit 8d527f156d
3 changed files with 10 additions and 0 deletions

3
NEWS
View File

@@ -12,6 +12,9 @@ shadow-4.0.18.1 -> shadow-4.0.18.2 UNRELEASED
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