Skip to content
Snippets Groups Projects
Karel Gardas's avatar
kgardas authored
This patch fixes getGroupEntryForID and getGroupEntryForName on Solaris
The issue on Solaris is that it defines both required getgrgid_r
and getgrnam_r functions as CPP macros which depending on configuration
are mapped to real function implementations with different names.
The issue is solved by using C API calling convention instead of platform
C ABI calling convention.
3c28bc83
History

The unix Package Build Status

See unix on Hackage for more information.

Installing from Git

To build this package using Cabal directly from Git, you must run autoreconf -i before the usual Cabal build steps (cabal {configure,build,install}). The program autoreconf is part of GNU autoconf. There is no need to run the configure script: cabal configure will do this for you.