aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/User.hsc
diff options
context:
space:
mode:
authorGravatar Simon Marlow <marlowsd@gmail.com>2009-09-17 13:40:46 +0000
committerGravatar Simon Marlow <marlowsd@gmail.com>2009-09-17 13:40:46 +0000
commit1affe6b3f8d81b483360cc30f2e2dc56278b7f03 (patch)
treeed939686d0ad85712486963cf32b371a2a924246 /System/Posix/User.hsc
parent4cddcfd678da145f24177a16c1c17271f81b6b5d (diff)
Add comments about why user001 might fail on Linux.
Diffstat (limited to 'System/Posix/User.hsc')
-rw-r--r--System/Posix/User.hsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc
index 88150a0..2427de0 100644
--- a/System/Posix/User.hsc
+++ b/System/Posix/User.hsc
@@ -213,6 +213,12 @@ getGroupEntryForName = error "System.Posix.User.getGroupEntryForName: not suppor
-- | @getAllGroupEntries@ returns all group entries on the system by
-- repeatedly calling @getgrent@
+
+--
+-- getAllGroupEntries may fail with isDoesNotExistError on Linux due to
+-- this bug in glibc:
+-- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466647
+--
getAllGroupEntries :: IO [GroupEntry]
#ifdef HAVE_GETGRENT
getAllGroupEntries =