mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 16:50:42 +00:00
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:
parent
d54b4c979a
commit
7cf10b6c49
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,8 @@
|
||||||
* Source/NSDate.m: GSTimeNow() remove volatile typespec and move
|
* Source/NSDate.m: GSTimeNow() remove volatile typespec and move
|
||||||
initialisation of interval in the hope of fixing a problem with
|
initialisation of interval in the hope of fixing a problem with
|
||||||
float operations. In any case, the code is tidier.
|
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>
|
2001-05-03 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -4229,7 +4229,7 @@ printf(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int uid = -1;
|
int uid = -2;
|
||||||
#ifdef HAVE_PWD
|
#ifdef HAVE_PWD
|
||||||
#ifdef HAVE_GETPWNAM
|
#ifdef HAVE_GETPWNAM
|
||||||
struct passwd *pw = getpwnam("nobody");
|
struct passwd *pw = getpwnam("nobody");
|
||||||
|
|
Loading…
Reference in a new issue