Fix in CVS ndeed Posix compile problem

Ahn Ki-yung kyagrd@bawi.org
Wed, 26 Mar 2003 19:31:18 +0900


Simon Marlow wrote:

>>But the gcc says there are too many argument.
>>There are two ways to go around.
>>I change the foriegn call definition "getpwuid_r" ==> 
>>"__posix_getpwuid_r"
>>I change the foriegn call definition "getpwnam_r" ==> 
>>"__posix_getpwnam_r"
>>    
>>
>
>Thanks, I'll look into this.
>  
>
I left out two more fucntions :
getgrnam_r, getgrgid_r in <grp.h> have the same problem too.

p.s. I think changing the configure will be the easiest way.
     If configure can find __posix_***_r stuff then use that,
     otherwise use plain ***_r.

--
Ahn Ki-yung