Fix lookup of group name

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4426 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-06-18 07:23:19 +00:00
parent ae246af0bf
commit 1d7edc23ec
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Jun 18 8:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSFileManager.m: Fix lookup of fileGroupOwnerAccountName
Thu Jun 17 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/include/NSNotification.h: Update to MacOS-X specs.

View file

@ -832,7 +832,7 @@ static NSFileManager* defaultManager = nil;
setgrent();
while ((gp = getgrent()) != 0)
{
if (gp->gr_gid == statbuf.st_uid)
if (gp->gr_gid == statbuf.st_gid)
{
break;
}