More Mac OS X portability fixes. On Linux, getgrnam_r & co. return the error
authorJonathan Pryor <jpryor@novell.com>
Fri, 5 Nov 2004 19:42:24 +0000 (19:42 -0000)
committerJonathan Pryor <jpryor@novell.com>
Fri, 5 Nov 2004 19:42:24 +0000 (19:42 -0000)
commita4e75d9a27a487ed05246fcd487df69227c56fba
treed94876306b86ed644014d622142cc0d292bdecdc
parent55a71babd783331b36e559825ec01b9f61b07983
More Mac OS X portability fixes.  On Linux, getgrnam_r & co. return the error
value directly.  Mac OS X returns -1 and errno holds the error.  Argh!  Check
both, for maximum portability.

svn path=/trunk/mono/; revision=35731
support/grp.c
support/mph.h
support/pwd.c