aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
Commit message (Collapse)AuthorAge
* add C wrappers for lstat() and mknod(). Fixes #1086.Gravatar Simon Marlow2007-02-26
|
* fix haddock syntaxGravatar Simon Marlow2006-09-08
|
* Derive Show, Read, and Eq for UserEntry and GroupEntryGravatar John Goerzen2006-08-31
|
* Fix compilation issues with new getgrent/getpwent codeGravatar John Goerzen2006-08-30
|
* Added support for getpwent/getgrentGravatar John Goerzen2006-08-30
|
* Added some Haddock docs for UserEntry and GroupEntryGravatar John Goerzen2006-08-29
|
* Add missing field gr_passwd to GroupEntryGravatar John Goerzen2006-08-29
|
* Whitespace changes for better alignment in unpackUserEntryGravatar John Goerzen2006-08-29
|
* Added pw_passwd and pw_gecos fields to UserEntry structureGravatar John Goerzen2006-08-29
| | | | | | System.Posix.User was missing pw_gecos and pw_passwd in UserEntry. I have added them, so now the full struct passwd is represented.
* Added more documentation to System.Posix.FilesGravatar Johan Tibell2006-08-13
|
* fix markup (#854)Gravatar Ross Paterson2006-08-20
|
* document args to executeFileGravatar Simon Marlow2006-08-09
|
* fix bogosity in getEnvironmentPrimGravatar Simon Marlow2006-05-31
|
* [project @ 2005-11-10 13:00:55 by simonmar]Gravatar simonmar2005-11-10
| | | | some Haddock docs, from Isaac Jones.
* [project @ 2005-11-10 12:58:32 by simonmar]Gravatar simonmar2005-11-10
| | | | Some docs for System.Posix, from Bj?rn Bringert
* [project @ 2005-08-10 10:07:22 by simonmar]Gravatar simonmar2005-08-10
| | | | Fix queryFdOption
* [project @ 2005-08-04 02:09:36 by wolfgang]Gravatar wolfgang2005-08-04
| | | | | | | Check for RTLD_DEFAULT in dlfcn.h and use it if it is available. (On Mac OS X its value is -2, and using NULL instead does not work.) MERGE TO STABLE
* [project @ 2005-05-10 10:40:12 by simonmar]Gravatar simonmar2005-05-10
| | | | PATH_MAX fixes from Thomas Schwinge.
* [project @ 2005-03-08 16:22:05 by simonmar]Gravatar simonmar2005-03-08
| | | | | Undo previous commit: it breaks when RLIM_INFINITY is defined to an expression that CPP doesn't understand.
* [project @ 2005-03-05 14:32:09 by panne]Gravatar panne2005-03-05
| | | | | Warning police (for platforms where all resource limits can be represented, i.e. RLIM_INFINITY == RLIM_SAVED_MAX == RLIM_SAVED_CUR)
* [project @ 2005-02-24 09:58:27 by simonmar]Gravatar simonmar2005-02-24
| | | | | | nDoc fixes from Sven Panne. Generally fixing of Haddock links, adding some signatures, and in some cases exporting type constructors that are mentioned in the types of exported identifiers.
* [project @ 2005-02-07 12:03:44 by simonmar]Gravatar simonmar2005-02-07
| | | | Doc for handleToFd and fdToHandle
* [project @ 2005-01-06 11:27:48 by ross]Gravatar ross2005-01-06
| | | | c_ftruncate is now in System.Posix.Internals
* [project @ 2004-12-02 15:57:06 by ross]Gravatar ross2004-12-02
| | | | | Hugs only: replace the CBITS pragma (files relative to cbits) with CFILES (files relative to the root of the package).
* [project @ 2004-11-12 17:08:58 by stolz]Gravatar stolz2004-11-12
| | | | | | | Fix FFI-funniness, cf. http://www.haskell.org/pipermail/glasgow-haskell-users/2002-February/003020.html Noticed by: George Russell (again)
* [project @ 2004-11-12 13:22:56 by stolz]Gravatar stolz2004-11-12
| | | | More getpw*_r result checks
* [project @ 2004-11-05 14:59:33 by stolz]Gravatar stolz2004-11-05
| | | | | | | | | | | | | | | | Fix getpwnam_r-handling: getpwnam_r returns (always?) 0, you have to check result* (pppw[0])! Truss-log from querying first "root", then "" on SunOS 5.9: <- libc:__posix_getpwnam_r() = 0 "root" -> libc:__posix_getpwnam_r(0xff1bf8a8, 0xff1bf460, 0xff1bf490, 0x400) <- libc:__posix_getpwnam_r() = 0 Yes, that's 0 in both cases. (I wasn't even able to elicit an ERANGE btw.) Reported by: Peter Simons
* [project @ 2004-10-27 10:51:15 by simonmar]Gravatar simonmar2004-10-27
| | | | | Fix bug in forkProcess: we weren't wrapping the forked IO action in the default exception handler, so exitFailure wasn't working properly.
* [project @ 2004-10-15 09:42:02 by simonmar]Gravatar simonmar2004-10-15
| | | | | - sleep, usleep: make thread-safe - add Haddock comments
* [project @ 2004-10-09 07:51:07 by panne]Gravatar panne2004-10-09
| | | | | Unbreak Hugs by moving pPrPr_disableITimers and execvpe to System.Posix.Internals (base package) and use it from System.Posix.Process (unix package).
* [project @ 2004-10-08 18:35:50 by panne]Gravatar panne2004-10-08
| | | | Unbreak Hugs, 2nd try...
* [project @ 2004-10-08 17:48:57 by panne]Gravatar panne2004-10-08
| | | | Unbreak Hugs: execvpe.c has gone
* [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.