aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
Commit message (Collapse)AuthorAge
* [project @ 2004-09-30 03:13:23 by dons]Gravatar dons2004-09-30
| | | | | | | | | | | | Implement System.Posix.User.getUserEntryFor{ID,Name} on platforms without reentrant versions of getpw{uid,nam}. This includes all the BSDs. While I'm here, close getGroupEntryFor* "Result too large" bug on OpenBSD, mentioned last year: http://www.haskell.org/pipermail/glasgow-haskell-bugs/2003-September/003601.html grBufSize was too small, apparently. Thanks to Ian Lynagh for hint to do the locking.
* [project @ 2004-09-15 15:55:45 by stolz]Gravatar stolz2004-09-15
| | | | | | | | | Add System.Posix.Signals.Exts which re-exports S.P.Signals and adds the two signals SIGINFO on (*BSD) and SIGWINCH (most Unices) which are not in POSIX. You should use cpp to test if those are defined before using them. This is encouraged by not providing dummy-definitions on platforms which do not offer that particular flavour.
* [project @ 2004-08-19 11:15:51 by simonmar]Gravatar simonmar2004-08-19
| | | | | | | | | Add filenames to all errors where it makes sense. I've added System.Posix.Error with a new family of error-throwing functions, throwErrnoPath*. This seemed to make the most sense: they don't belong in Foreign.C.Error (C by itself has no notion of paths). Fixes: [ 954378 ] getFileStatus does not include the file name in IO-Error
* [project @ 2004-05-13 09:55:59 by stolz]Gravatar stolz2004-05-13
| | | | | | | Inverted logic would call dlerror() after a successful dlclose() and cause a segfault. Noticed by: abe.egnor At gmail.com
* [project @ 2004-03-09 11:37:14 by simonmar]Gravatar simonmar2004-03-09
| | | | | change the foreign import of waitpid to "safe", so that we can use it in a non-blocking way with the threaded RTS.
* [project @ 2004-02-19 16:29:28 by stolz]Gravatar stolz2004-02-19
| | | | | | Remove redundant _POSIX_PTHREAD_SEMANTICS. It's defined on the command line and also set too late/in the wrong place (after including system prototypes), anyway.
* [project @ 2003-12-05 10:20:25 by ross]Gravatar ross2003-12-05
| | | | | | | solaris_TARGET_OS -> solaris2_TARGET_OS (and tweak the #define while I'm here) Works for Hugs, still untested for GHC, but presumably needed for STABLE.
* [project @ 2003-10-27 11:58:28 by stolz]Gravatar stolz2003-10-27
| | | | | | | - fix typo in error message - a bit of manual CSE for fcntl-flags - use Data.Bits instead of brains - make (unexported) function names a bit more consistent
* [project @ 2003-10-24 14:46:13 by sof]Gravatar sof2003-10-24
| | | | | | drop cygwin #ifdef; not an issue with current versions. merge to stable
* [project @ 2003-10-24 14:38:27 by sof]Gravatar sof2003-10-24
| | | | | | code tidyup merge to stable
* [project @ 2003-10-23 23:32:43 by sof]Gravatar sof2003-10-23
| | | | | | fdRead: drop superfluous array copying merge to stable
* [project @ 2003-10-18 00:35:26 by ross]Gravatar ross2003-10-18
| | | | Hugs only: add handleToFd
* [project @ 2003-10-17 16:48:44 by ross]Gravatar ross2003-10-17
| | | | | | Hugs only: add most of the rest of System.Posix (I wonder why SIG_UNBLOCK and SIG_SETMASK are switched in HsBase.h)
* [project @ 2003-10-01 10:57:44 by wolfgang]Gravatar wolfgang2003-10-01
| | | | | | | | | | | | | | New implementation & changed type signature of forkProcess forkProcess now has the following type: forkProcess :: IO () -> IO ProcessID forkProcessAll has been removed as it is unimplementable in the threaded RTS. forkProcess using the old type (IO (Maybe ProcessID)) was impossible to implement correctly in the non-threaded RTS and very hard to implement in the threaded RTS. The new type signature allows a clean and simple implementation.
* [project @ 2003-09-24 13:42:15 by simonmar]Gravatar simonmar2003-09-24
| | | | No reason we can't support sys/mman.h: move it to the ToDo section.
* [project @ 2003-09-22 10:57:45 by simonmar]Gravatar simonmar2003-09-22
| | | | | | | Untested fix for Solaris to get the right versions of getgrnam_r and friends. I'd appreciate it if someone with a Solaris build could test this.
* [project @ 2003-09-19 09:27:35 by simonmar]Gravatar simonmar2003-09-19
| | | | | | | | Kill mktemp: it causes link warnings whenever someone uses -package unix on Linux & FreeBSD at least, and is bogus anyway. mktemp is still used to implement mkstemp when !GLASGOW_HASKELL and !HUGS. Why is this?
* [project @ 2003-09-16 13:45:02 by simonmar]Gravatar simonmar2003-09-16
| | | | fileExist should not throw an exception if the file does not exist.
* [project @ 2003-09-15 20:59:07 by dons]Gravatar dons2003-09-15
| | | | | | | | #ifdef's for the _PC_SYNC_IO, _PC_ASYNC_IO, _PC_FILESIZEBITS, _PC_SYMLINK_MAX. These 4 symbols are not universal: FreeBSD and Linux and the only OS's that appear to have them at the moment.
* [project @ 2003-09-12 13:05:20 by simonmar]Gravatar simonmar2003-09-12
| | | | Implement pathconf()/fpathconf() wrappers.
* [project @ 2003-08-04 14:08:27 by panne]Gravatar panne2003-08-04
| | | | Export TerminalAttributes abstractly
* [project @ 2003-08-04 13:26:12 by panne]Gravatar panne2003-08-04
| | | | More import tweaking for Haddock
* [project @ 2003-08-04 13:22:05 by panne]Gravatar panne2003-08-04
| | | | | Export Module (abstractly), otherwise the user is unable to write signatures involving this type. Improves Haddock hyperlinks, too.
* [project @ 2003-07-22 09:55:07 by ross]Gravatar ross2003-07-22
| | | | jiggle to make System.Posix.Directory work for Hugs
* [project @ 2003-06-06 12:49:00 by stolz]Gravatar stolz2003-06-06
| | | | | | | | Move System.Sendfile to Network.Sendfile: - Linux can sendfile() to a fd, but BSD couldn't - sendfile() on Linux is probably now disabled on most builds because of the LARGEFILE issue => Change API to use type Socket
* [project @ 2003-06-06 10:45:43 by stolz]Gravatar stolz2003-06-06
| | | | Haddock: Add link to 'handleToFd'
* [project @ 2003-06-03 14:01:38 by simonmar]Gravatar simonmar2003-06-03
| | | | Hook up System.Posix.Temp.
* [project @ 2003-06-03 11:31:45 by stolz]Gravatar stolz2003-06-03
| | | | waitpid() may return EINTR, so use throwErrnoifMinus1Retry
* [project @ 2003-05-28 12:36:29 by stolz]Gravatar stolz2003-05-28
| | | | Can't use sendfile() with LARGEFILES on Linux
* [project @ 2003-05-27 12:59:54 by stolz]Gravatar stolz2003-05-27
| | | | | /me slaps haddock with a large piece of trout. Someone please remind me of running 'make html' before committing.
* [project @ 2003-05-27 12:54:18 by stolz]Gravatar stolz2003-05-27
| | | | | | | Throw in mktemp() as well, as the non-GHC/Hugs case was essentially that. Advantage: At least on FreeBSD the linker will print out a warning whenever you use mktemp().
* [project @ 2003-05-27 10:18:58 by ross]Gravatar ross2003-05-27
| | | | Hugs only: use fdToHandle (like GHC)
* [project @ 2003-05-27 10:18:16 by ross]Gravatar ross2003-05-27
| | | | Hugs only: make fdToHandle available
* [project @ 2003-05-27 08:59:21 by stolz]Gravatar stolz2003-05-27
| | | | | | Return file name as well Suggested by: Martin Norb?ck
* [project @ 2003-05-27 08:20:42 by stolz]Gravatar stolz2003-05-27
| | | | | | | Add mkstemp() wrapper, including (unsafe) fallback for non-GHCs (fdToHandle required). Suggested by: Martin Sj?gren
* [project @ 2003-05-23 16:36:48 by ross]Gravatar ross2003-05-23
| | | | fix type error
* [project @ 2003-05-23 14:31:46 by stolz]Gravatar stolz2003-05-23
| | | | No (un)setenv until SUSv3 (e.g. Solaris 2.9). (fallback untested)
* [project @ 2003-05-21 15:07:55 by simonmar]Gravatar simonmar2003-05-21
| | | | Revert previous commit, I've fixed Haddock instead.
* [project @ 2003-05-21 14:58:36 by simonmar]Gravatar simonmar2003-05-21
| | | | Flatten the doc structure a bit.
* [project @ 2003-05-18 06:47:42 by stolz]Gravatar stolz2003-05-18
| | | | | - My fault, so take ownership - Strip unnecessary #include while here
* [project @ 2003-05-16 12:03:55 by stolz]Gravatar stolz2003-05-16
| | | | Look for 'bracket' in the right place
* [project @ 2003-05-16 08:25:30 by simonmar]Gravatar simonmar2003-05-16
| | | | Move dlfcn.h to the "supported" list.
* [project @ 2003-05-16 06:41:25 by stolz]Gravatar stolz2003-05-16
| | | | | | | | | - move System.DL to System.Posix.DynamicLinker - take ownership There's a compiler warning when passing the 'const char*' result from dlerror() to peekCString (discarded qualifier). Does an FFI-expert know how to get rid of this warning?
* [project @ 2003-05-12 13:19:49 by wolfgang]Gravatar wolfgang2003-05-12
| | | | Add #ifdefs for RLIMIT_AS and RLIM_SAVED_*, which are not defined on Mac OS X.
* [project @ 2003-04-11 23:37:03 by ross]Gravatar ross2003-04-11
| | | | replace Word with CTcflag
* [project @ 2003-04-11 10:17:13 by ross]Gravatar ross2003-04-11
| | | | use System.Posix.Internals
* [project @ 2003-04-11 10:11:23 by ross]Gravatar ross2003-04-11
| | | | rename GHC.Posix as System.Posix.Internals
* [project @ 2003-04-11 10:00:07 by ross]Gravatar ross2003-04-11
| | | | move environ from C to Haskell
* [project @ 2003-03-26 12:35:34 by simonmar]Gravatar simonmar2003-03-26
| | | | Add getrlimit()/setrlimit() suppport
* [project @ 2003-03-26 12:34:53 by simonmar]Gravatar simonmar2003-03-26
| | | | wibble: add a newline at the end of the file