Accepting IRIX 5.2's old-style getpwuid_r

Alexandre Oliva oliva@dcc.unicamp.br
Sat Aug 21 04:53:00 GMT 1999


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

> function overloading to accomplish the same.  That's the only
> solution I could find to detect the type of ctime_r, anyway...

Function overloading worked beautifully.  We can even remove some
other similar tests from configure.in, since the
overload-resolution-based ones are much more reliable.

Here's the patch that fixes getpwduid_r and ctime_r on IRIX 5.2,
allowing it to build to completion.  The patch was also tested on
Solaris 2.5/sparc, 7/sparc/x86, DU4.0d and GNU/Linux
RedHat 6.0 /x86/alpha/sparc, and it certainly works any other platform
that worked before (famous last words, huh? :-), so I'm installing it
in mainline and branch.

Tell me what you think about this solution.  I myself found it quite
ugly, but it's probably worth the ugliness.



More information about the Java-patches mailing list