This project is mirrored from https://github.com/haskell/unix.
Pull mirroring updated .
- 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
-
-
-
- Feb 05, 2024
-
-
-
This appears to have broken with the `os-string` split of `filepath-1.5`.
-
- Nov 30, 2023
-
- Nov 29, 2023
-
-
Julian Ospald authored
-
Julian Ospald authored
-
- Nov 26, 2023
-
-
Julian Ospald authored
-
Julian Ospald authored
-
- Oct 11, 2023
-
- Oct 10, 2023
-
-
Julian Ospald authored
-
- Oct 05, 2023
-
-
- Oct 04, 2023
-
- Sep 29, 2023
-
-
`musl` defines the `environ` symbol as a weak alias, which on AArch64 requires particular treatment by the compiler. As GHC doesn't have access to the prototype of the symbol, it doesn't know that this treatment is necessary and consequently we emit assembly that the linker will choke on. See GHC #24011.
-