This project is mirrored from https://github.com/haskell/unix.
Pull mirroring updated .
- Nov 19, 2024
-
-
andreas.abel authored
-
andreas.abel authored
This reverts commit e530dcb7.
-
andreas.abel authored
-
andreas.abel authored
-
andreas.abel authored
-
andreas.abel authored
-
Julian Ospald authored
-
Julian Ospald authored
-
Julian Ospald authored
-
- Jun 26, 2024
-
-
This is useless at best, and a common source of confusion. https://github.com/haskell/cabal/pull/10145 https://github.com/sol/hpack/issues/355
-
- Jun 24, 2024
-
-
-
-
-
-
-
* Changed the assignment of values for missing DT_* constants. Since the 'd_type' field is of type 'unsigned char' we assign a negative number for each missing DT_* constant so they are distinguishable but do not collide with the values from the libc implementation. * Added a new 'DirStreamWithPath' that contains the path of the directory the directory stream belongs to. * 'readDirStreamWithType' falls back to a 'stat' if the 'd_type' is unknown or undetermined. * Added some tests for 'readDirStreamWithType'.
-
-
-
-
-
* Added `readDirStream`/`readDirStream` for ByteString, PosixPath * Removed `DirEnt`, `readDirStreamWith`, `readDirStreamWithPtr` from public API
-
-
This version of `readDirStreamWith` takes a pre-allocated pointer as an additional argument that is used to store the pointer to the dirent. It is useful when you want to read a lot of entries and want to safe a few allocations since you can reuse the pointer for each call to `readDirStreamWithPtr`.
-
This commit exposes the dirent pointer used in the directory stream functions wrapped in a newtype called `DirEnt`. It also adds a new function `readDirStreamWith` that takes a callback that is used to obtain the result from the pointer to the directory entry.
-
-
- Jun 17, 2024
-
-
One such platform is Debian unstable armhf, which is in the process of transitioning to 64-bit time_t: https://wiki.debian.org/ReleaseGoals/64bit-time On that platform (as well as any other glibc/musl platform), however, CTimeVal isn't used for anything at all because there are #ifdefs that prefer using `utimensat` which takes CTimeSpec instead. This fix is therefore quite theoretical, as it is unknown whether there are any platforms actually affected. Related: https://github.com/haskell/unix/pull/252
-
- May 29, 2024
-
-
- May 03, 2024
-
-
- May 01, 2024
-
-
Julian Ospald authored
-
Julian Ospald authored
-
Julian Ospald authored
-
-
-
Drop old MacOS jobs: there are no bindists of old GHCs for aarch64, which macos-latest now refers to
-
- Apr 08, 2024
-
- Mar 27, 2024
-
-
- Mar 22, 2024
-
-
Julian Ospald authored
-
`cabal haddock`: option `--disable-documentation` prevents reinstalling all the dependencies
-
-