Files
Library/include/Void/System
faumaray dcfde7f51d System: implement FileLock, symlink swap, reflink copy and timestamps on Windows
- FileLock: _wopen + LockFileEx/UnlockFileEx byte-range locks (shared and
  exclusive, blocking and non-blocking).
- atomic_symlink_swap: CreateSymbolicLinkW to a temp name, then
  MoveFileExW replace (write-through for durable_sync).
- reflink_copy_file: staged copy with an FSCTL_DUPLICATE_EXTENTS_TO_FILE
  block-clone attempt and a streaming private-copy fallback, no-overwrite
  publish, attribute preservation and optional parent flush.
- set_timestamps_nofollow: FILE_WRITE_ATTRIBUTES handle opened with
  FILE_FLAG_OPEN_REPARSE_POINT and SetFileTime.
- OwnedFd now actually closes its descriptor on Windows.

The combined filesystem test runs on both platforms now. Verified under
Wine 11 (x86_64-w64-mingw32 GCC 16.2): full suite passes (1337 tests,
1326 passed, 11 skipped, 0 failed). Linux System+Testing suite unchanged
(477 tests, 474 passed).
2026-12-06 01:45:06 +03:00
..
2026-07-20 01:18:53 +03:00