patch applied (packages/unix): Make get{Group, User}EntryBy{ID, Name} more portable.

Simon Marlow simonmarhaskell at gmail.com
Fri Apr 3 07:11:11 EDT 2009


Sun Mar 29 07:42:52 PDT 2009  Matthias Kilian <kili at outback.escape.de>
  * Make get{Group,User}EntryBy{ID,Name} more portable.
  Ignore-this: 483362361add825012eac72d66e5b40b
  Retry with a larger buffer whenever getgrgid_r(3), getgrnam_r(3),
  getpwuid_r(3) or getpwnam_r(3) return ERANGE. Suggested in the
  examples sections of IEEE Std 1003.1-2008.
  
  While here, change the default for grBufSize back to 1024.

    M ./System/Posix/User.hsc -42 +50

View patch online:
http://darcs.haskell.org/packages/unix/_darcs/patches/20090329144252-6d641-68f414d26917424667dc49b8567fa08e789855c5.gz


More information about the Cvs-libraries mailing list