This project is mirrored from https://github.com/haskell/unix.
Pull mirroring updated .
- 16 Nov, 2015 1 commit
-
-
Herbert Valerio Riedel authored
This all started in e968172c which tried to get rid of redundant import warnings. But we should rather err on having to tolerate a few warnings on exotic configurations rather than breaking a build... This hopefully fixes #36
-
- 06 Dec, 2014 1 commit
-
-
Herbert Valerio Riedel authored
-
- 10 Sep, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This makes it more obvious why `unix` depends on `time` in the first place, i.e. for the sole purpose of reusing the `POSIXTime` type.
-
- 13 Oct, 2013 2 commits
- 12 Oct, 2013 4 commits
-
-
Herbert Valerio Riedel authored
CPP conditional code sections have been carefully taken into account while performing this warning cleanup. Most `OPTIONS_GHC` declarations could be dropped (now only a lonely `{-# OPTIONS_GHC -fno-cse #-}` remains in `Posix.Signals`). Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
By avoiding `import Foreign` this accomplishes backward-compatibility w.r.t. the `unsafePerformIO` relocation w/o resorting to CPP conditionals. Moreover, in order to support base<4.7 this commits needs to reintroduce a harmless backport of `newFilePath`. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
The changelog file will be shown on Hackage once it's included in the source tarball. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Herbert Valerio Riedel authored
Only language extensions not active when `-XHaskell2010` is enabled are declared, this way we can drop many redundant `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 16 Feb, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 30 Nov, 2012 1 commit
-
-
ian@well-typed.com authored
and remove code to support older versions
-
- 06 Sep, 2012 1 commit
-
-
pcapriotti authored
-
- 03 Sep, 2012 1 commit
-
-
- 18 Jul, 2012 1 commit
-
-
pcapriotti authored
-
- 17 Jul, 2012 1 commit
-
-
Signed-off-by:
Paolo Capriotti <p.capriotti@gmail.com>
-
- 22 Nov, 2011 1 commit
-
-
Simon Marlow authored
The new module System.Posix.ByteString provides exactly the same API as System.Posix, except that: - There is a new type: RawFilePath = ByteString - All functions mentioning FilePath in the System.Posix API use RawFilePath in the System.Posix.ByteString API - RawFilePaths are not subject to Unicode locale encoding and decoding, unlike FilePaths. They are the exact bytes passed to and returned from the underlying POSIX API. - Similarly for functions that deal in environment strings (System.Posix.Env): these use untranslated ByteStrings in System.Posix.Environment - There is a new function System.Posix.ByteString.getArgs :: [ByteString] returning the raw untranslated arguments as passed to exec() when the program was started.
-
- 09 Aug, 2011 1 commit
-
-
dterei authored
-
- 04 Aug, 2011 1 commit
-
-
dterei authored
-
- 14 May, 2011 1 commit
-
-
batterseapower authored
-
- 24 Mar, 2011 1 commit
-
-
Ian Lynagh authored
-
- 09 Sep, 2010 1 commit
-
-
Ross Paterson authored
-
- 21 Aug, 2008 2 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
- 16 Jun, 2008 1 commit
-
-
Ian Lynagh authored
-
- 14 Oct, 2007 1 commit
-
-
Ian Lynagh authored
-
- 04 Apr, 2007 2 commits
-
-
Ian Lynagh authored
Using CInt makes it much easier to verify that it is right, and we won't get caught out by possible newtype switches between CInt/Int.
-
Ian Lynagh authored
-
- 03 Apr, 2007 1 commit
-
-
Ian Lynagh authored
(of the dubiously exported c_access and c_fcntl_write)
-
- 05 Mar, 2007 1 commit
-
-
Simon Marlow authored
-
- 26 Feb, 2007 1 commit
-
-
Simon Marlow authored
-
- 13 Aug, 2006 1 commit
-
-
tibbe authored
-
- 10 Nov, 2005 1 commit
-
-
simonmar authored
Some docs for System.Posix, from Bj?rn Bringert
-
- 10 May, 2005 1 commit
-
-
simonmar authored
PATH_MAX fixes from Thomas Schwinge.
-
- 06 Jan, 2005 1 commit
-
-
ross authored
c_ftruncate is now in System.Posix.Internals
-
- 19 Aug, 2004 1 commit
-
-
simonmar authored
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
-
- 16 Sep, 2003 1 commit
-
-
simonmar authored
fileExist should not throw an exception if the file does not exist.
-
- 15 Sep, 2003 1 commit
-
-
dons authored
#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.
-
- 12 Sep, 2003 1 commit
-
-
simonmar authored
Implement pathconf()/fpathconf() wrappers.
-
- 11 Apr, 2003 1 commit
-
-
ross authored
rename GHC.Posix as System.Posix.Internals
-
- 19 Dec, 2002 1 commit
-
-
simonmar authored
Fill in some more bits in the new Unix library: specifically the contents of PosixTTY and PosixDB (now System.Posix.Terminal and System.Posix.User respectively). We're now about 95% complete w.r.t. the old posix library. I've identified the reminaing bits to do in System/Posix.hs.
-