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

View File

@@ -1,3 +1,8 @@
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