Accepting IRIX 5.2's old-style getpwuid_r

Alexandre Oliva oliva@dcc.unicamp.br
Sat Aug 21 03:01:00 GMT 1999


On Aug 21, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> Here's a patch to accept old-style getpwuid_r, that returns struct
> passwd* instead of taking it by reference and returning int.

Oh well!  It thought Solaris's getpwuid_r would not return int :-(

I'm reverting the patch, and explore function overloading to
accomplish the same.  That's the only solution I could find to detect
the type of ctime_r, anyway...

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


More information about the Java-patches mailing list