[GHC] #5942: implement POSIX confstr() in System/Posix/Unistd.hsc
GHC
cvs-ghc at haskell.org
Mon Jul 16 12:32:31 CEST 2012
#5942: implement POSIX confstr() in System/Posix/Unistd.hsc
-------------------------------+--------------------------------------------
Reporter: clint | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.6.1
Component: libraries/unix | Version: 7.4.1
Resolution: | Keywords: confstr
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Easy (less than 1 hour)
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by simonmar):
* owner: simonmar =>
* status: patch => new
Comment:
`confstr` is fine, but most of those values (e.g. `_CS_LFS_CFLAGS`) are
non-portable as far as I can tell. The only portable one is `_CS_PATH`.
See e.g. the POSIX pages that list the standard defines:
[http://pubs.opengroup.org/onlinepubs/009695399/basedefs/unistd.h.html]
and
[http://pubs.opengroup.org/onlinepubs/009695399/functions/confstr.html]
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5942#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list