#2352: POSIX.1 unsetenv returns int
----------------------------+-----------------------------------------------
Reporter: donn | Owner: igloo
Type: bug | Status: closed
Priority: normal | Milestone: 6.10.1
Component: libraries/unix | Version: 6.8.2
Severity: minor | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86_64 (amd64)
Os: NetBSD |
----------------------------+-----------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
http://osdir.com/ml/lib.gnulib.bugs/2004-11/msg00009.html says that it
returns `void` on NetBSD, and FreeBSD and Redhat 7.3 GNU/Linux, while my
man page and
http://www.opengroup.org/onlinepubs/009695399/functions/unsetenv.html
agree that it should return `int`, so both cases really do exist.
I've applied the patch.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2352#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs