aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* mention that forkProcess is not supported with +RTS -Nn where n > 1Gravatar Simon Marlow2010-04-30
|
* make getAllGroupEntries work when called again; fixes #3816Gravatar Simon Marlow2010-03-29
|
* add test for #3816Gravatar Simon Marlow2010-03-29
|
* fix warningsGravatar Simon Marlow2010-03-22
|
* handleToFd: close both sides of a DuplexHandle (#3914)Gravatar Simon Marlow2010-03-19
|
* check for EINTR in openFdGravatar Simon Marlow2010-01-27
|
* accept --with-cc to set the path to gcc (#2966)Gravatar Simon Marlow2010-01-27
|
* System.Posix.Temp: rm whitespaceGravatar gwern0@gmail.com2010-01-19
|
* System.Posix.Temp: pad input filenames with 6 XsGravatar gwern0@gmail.com2010-01-19
| | | | | | | | | If the argument doesn't terminate in capital Xs, the C mkstemp will simply bomb out with zero warning. This was not documented. By arbitrarily sticking a bunch of Xes at the end of all arguments, we guarantee that this exception will not be thrown, the type signature will not change, and no existing code can break (since if it was manually avoiding the exception by adding "XXX" itself, the temp files will now be simply 3 random characters longer, nothing worse).
* System.Posix.Temp: improve haddocks for mkstemp to explain what that ↵Gravatar gwern0@gmail.com2010-01-19
| | | | returned String actually is
* fix base dependency: should be >= 4.2 (#3780), and bump verison to 2.4.0.1Gravatar Simon Marlow2010-01-13
|
* no good reason these tests should be expect_fail, as far as I can tellGravatar Simon Marlow2009-12-31
|
* Support for DragonFlyGravatar Simon Marlow2009-12-21
| | | | Not sure where this patch came from, I found it in my validate tree.
* Don't use absolute paths to headers (#3728)Gravatar Simon Marlow2009-12-21
|
* Add Haiku (#3727)Gravatar Simon Marlow2009-12-21
|
* #include <fcntl.h>, not <sys/fcntl.h> (#3723)Gravatar Simon Marlow2009-12-16
|
* forking works in GHCi tooGravatar Simon Marlow2009-11-11
| | | | | | Or at least, it works well enough to run this test. The main GHCi thread is gone after forking, but the current evaluation continues to run.
* add a test for #1185Gravatar Simon Marlow2009-10-21
|
* run fdReadBuf only the threaded ways (fixed unregisterised failure)Gravatar Simon Marlow2009-10-08
|
* Add a test from trac #2969Gravatar Ian Lynagh2009-09-23
|
* Bump version to 2.4.0.0Gravatar Ian Lynagh2009-09-20
|
* Add comments about why user001 might fail on Linux.Gravatar Simon Marlow2009-09-17
| | | | See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466647
* Allow building with base 4.2Gravatar Ian Lynagh2009-09-11
|
* remove dead codeGravatar Simon Marlow2009-09-08
|
* Use Foreign.Concurrent for Haskell finalizers (#3473)Gravatar Simon Marlow2009-09-08
|
* Update to follow RTS tidyp changesGravatar Simon Marlow2009-08-01
|
* NetBSD does not have support for symbol versioning, so updated systenGravatar Simon Marlow2009-07-23
| | | | | | | | | | | | | | | | | | functions need to be given a new name, and the header files contain some __asm hackery in order to let the program call the correct function. This mean that you need to use the header files in order to call the correct system functions, which prevents things like "foreign import ccall" from working. Ghc solves this with wrapper functions for some of the renamed functions, but it has not been updated for newer versions of NetBSD that has recently versioned some more functions. The attached patches introduces wrapper functions for all currently NetBSD-versioned functions used in libraries/unix. Solves ~20 testsuite failures. Contributed by: Krister Walfridsson <krister.walfridsson@gmail.com>
* Fix warningGravatar Ian Lynagh2009-07-11
|
* Fix some "warn-unused-do-bind" warnings where we want to ignore the valueGravatar Ian Lynagh2009-07-10
|
* Remove unused importsGravatar Ian Lynagh2009-07-07
|
* Move directory stuff from base to hereGravatar Simon Marlow2009-06-25
| | | | leaving out Windows-specific hacks
* rename cache variables to keep recent autoconfs happyGravatar Ross Paterson2009-06-16
|
* Decouple from base (almost)Gravatar Simon Marlow2009-06-18
| | | | by copying foreign imports here from System.Posix.Internals
* Update to work with the new GHC IO library internalsGravatar Simon Marlow2009-06-11
|
* add test for fdReadBuf/fdWriteBufGravatar Simon Marlow2009-05-29
|
* add fdReadBuf, fdWriteBufGravatar Simon Marlow2009-05-29
| | | | | | | | | | | | | | | | -- | Read data from an 'Fd' into memory. This is exactly equivalent -- to the POSIX @read@ function. fdReadBuf :: Fd -> Ptr Word8 -- ^ Memory in which to put the data -> ByteCount -- ^ Maximum number of bytes to read -> IO Bytecount -- ^ Number of bytes read (zero for EOF) -- | Write data from memory to an 'Fd'. This is exactly equivalent -- to the POSIX @write@ function. fdWriteBuf :: Fd -> Ptr Word8 -- ^ Memory containing the data to write -> ByteCount -- ^ Maximum number of bytes to write -> IO ByteCount -- ^ Number of bytes written
* Give bounds for the base dependency; fixes #3142Gravatar Ian Lynagh2009-05-24
|
* Make get{Group,User}EntryBy{ID,Name} more portable.Gravatar Matthias Kilian2009-03-29
| | | | | | | | 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.
* fix this test: we were overflowing the IO manager's pipe with too many signalsGravatar Simon Marlow2009-03-10
|
* Add config.guess config.sub install-sh as extra-source-filesGravatar Ian Lynagh2009-03-07
|
* Tweak an internal detailGravatar Ian Lynagh2009-03-04
| | | | | | We now use an EmptyDataDecl rather than recursive newtype as an argument to Ptr. As well as being prettier, this also avoids an infinite loop bug in haddock (trac #3066).
* Remove an incorrect commentGravatar Ian Lynagh2009-03-04
|
* Remove some debugging CPPGravatar Ian Lynagh2009-02-26
|
* Rewrite of signal-handling.Gravatar Simon Marlow2009-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | The API is the same (for now). The new implementation has the capability to define signal handlers that have access to the siginfo of the signal (#592), but this functionality is not exposed in this patch. #2451 is the ticket for the new API. The main purpose of bringing this in now is to fix race conditions in the old signal handling code (#2858). Later we can enable the new API in the HEAD. Implementation differences: - More of the signal-handling is moved into Haskell. We store the table of signal handlers in an MVar, rather than having a table of StablePtrs in the RTS. - In the threaded RTS, the siginfo of the signal is passed down the pipe to the IO manager thread, which manages the business of starting up new signal handler threads. In the non-threaded RTS, the siginfo of caught signals is stored in the RTS, and the scheduler starts new signal handler threads.
* Don't put inline'd functions in HsUnix.h; fixes trac #2969Gravatar Ian Lynagh2009-02-11
| | | | | | If they are included into a C file which also has certain symbols defined, then the behaviour of the HsUnix.h functions can change (e.g. lstat can become the 32bit, rather than 64bit, version).
* fix warningsGravatar Simon Marlow2009-02-03
|
* Add check for -lrt to get the shm* functions. Subst. in buildinfoGravatar Don Stewart2009-01-30
|
* SharedMem.hsc wasn't including HsUnixConfig.h, so no #defines were propagatingGravatar Don Stewart2009-01-30
|
* Require Cabal version >= 1.6Gravatar Ian Lynagh2009-01-22
|
* Add "bug-reports" and "source-repository" info to the Cabal fileGravatar Ian Lynagh2009-01-21
| | | | Also switched to the modern Cabal file format