Fix in CVS ndeed Posix compile problem
Wed, 26 Mar 2003 09:52:17 -0000
> SunOS 5.8
> Reading specs from=20
> gcc version 2.95.3 20010315 (release)=20
> In the posix related libaries there are two forign call definition.
> foreign import ccall unsafe "getpwuid_r"
> c_getpwuid_r :: CUid -> Ptr CPasswd ->
> CString -> CSize -> Ptr (Ptr CPasswd) -> IO CInt=20
> foreign import ccall unsafe "getpwnam_r"
> c_getpwnam_r :: CString -> Ptr CPasswd ->
> CString -> CSize -> Ptr (Ptr CPasswd) -> IO CInt
> But the gcc says there are too many argument.
> There are two ways to go around.
> I change the foriegn call definition "getpwuid_r" =3D=3D>=20
> I change the foriegn call definition "getpwnam_r" =3D=3D>=20
Thanks, I'll look into this.