Minor tidy

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9775 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2001-05-04 04:55:00 +00:00
parent d54b4c979a
commit 7cf10b6c49
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,8 @@
* Source/NSDate.m: GSTimeNow() remove volatile typespec and move
initialisation of interval in the hope of fixing a problem with
float operations. In any case, the code is tidier.
* Tools/gdomap.c: If started as root, try to become user nobody.
* Tools/gdomap.c: If started as root, try to become user nobody
before resorting to uid -2 (like NFS).
2001-05-03 Adam Fedor <fedor@gnu.org>

View file

@ -4229,7 +4229,7 @@ printf(
}
else
{
int uid = -1;
int uid = -2;
#ifdef HAVE_PWD
#ifdef HAVE_GETPWNAM
struct passwd *pw = getpwnam("nobody");