From 3c28bc83695cb5351d24920dac655b944a8abfba Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Mon, 8 Sep 2014 20:17:47 +0200 Subject: fix getGroupEntryForID/Name on Solaris 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. --- changelog.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'changelog.md') diff --git a/changelog.md b/changelog.md index 9d587ab..e8632e2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ + + * Fix `getGroupEntryForID/getGroupEntryForName' on Solaris. Solaris uses + CPP macros for required getgrgid_r and getgrnam_r functions definition + so the fix is to change from C ABI calling convention to C API calling + convention + ## 2.7.0.1 *Mar 2014* * Bundled with GHC 7.8.1 -- cgit v1.2.3