Changelog for unix
package
-
Bundled with GHC 7.10.1
-
Add support for
base-4.8.0.0
-
Tighten
SafeHaskell
bounds for GHC 7.10+ -
Add haddock comments on
RTLD_NEXT
andRTLD_DEFAULT
-
Deprecate function
haveRtldLocal
-
Fix
getGroupEntryForID/getGroupEntryForName
on Solaris. Solaris uses CPP macros for requiredgetgrgid_r
andgetgrnam_r
functions definition so the fix is to change from C ABI calling convention to C API calling convention -
Fix potential type-mismatch in
telldir
/seekdir
FFI imports -
Use CAPI FFI import for
truncate
to make sure the LFS-version is used. -
executeFile
: FixENOTDIR
error for entries with non-directory components inPATH
(and instead skip over non-directoryPATH
-elements) -
New functions in
System.Posix.Unistd
:fileSynchronise
(akafsync(2)
), andfileSynchroniseDataOnly
(akafdatasync(2)
)
-
New module
System.Posix.Fcntl
providingfileAdvise
(akaposix_fadvise(2)
), andfileAllocate
(akaposix_fallocate(2)
)
-
Fix SIGINFO and SIGWINCH definitions
-
Bundled with GHC 7.8.1
-
Handle
EROFS
andETXTBSY
as (non-exceptional) permission denied infileAccess
-
Fix
getFileStatus
to retrystat(2)
when it returnsEAGAIN
(this can happen on Solaris)
-
New
forkProcessWithUnmask
function in the style offorkIOWithUnmask
-
Change
forkProcess
to inherit the exception masking state of its caller -
Add new
Bool
flag toProcessStatus(Terminated)
constructor indicating whether a core dump occured -
New functions in
System.Posix.Files{,.ByteString}
for operating on high resolution file timestamps:setFdTimesHiRes :: Fd -> POSIXTime -> POSIXTime -> IO () setFileTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO () setSymbolicLinkTimesHiRes :: FilePath -> POSIXTime -> POSIXTime -> IO () touchFd :: Fd -> IO () touchSymbolicLink :: FilePath -> IO ()
-
Export
SignalInfo(..)
andSignalSpecificInfo(..)
as well as the twoHandler
constructorsCatchInfo
andCatchInfoOnce
fromSystem.Posix.Signals
-
Don't export
seekDirStream
andtellDirStream
if the underlyingseekdir(3)
/telldir(3)
system calls are not available (as on Android) -
Fix library detection of
shm*
on openSUSE (#8350) -
Minor documentation fixes/updates
-
Update package to
cabal-version >= 1.10
format
- Bundled with GHC 7.6.2
- Fix memory corruption issue in
putEnv
- Use
pthread_kill(3)
instead ofraise(2)
on OS X too
- Bundled with GHC 7.6.1
- New functions
mkdtemp
andmkstemps
inSystem.Posix.Temp
- New functions
setEnvironment
andcleanEnv
- New functions
accessTimeHiRes
,modificationTimeHiRes
, andstatusChangeTimeHiRes
for accessing high resolution timestamps