zig/lib/std
Ryan Liptak 8e155959ca posix.renameW: Handle DIRECTORY_NOT_EMPTY more generally
Before this commit, the DIRECTORY_NOT_EMPTY/FILE_IS_A_DIRECTORY/NOT_A_DIRECTORY statuses were assumed only to be possible when using `FILE_RENAME_INFORMATION_EX` and `FILE_RENAME_POSIX_SEMANTICS`, but that has empirically been shown to be false; a networked samba share can return the DIRECTORY_NOT_EMPTY status from `FILE_RENAME_INFORMATION` (which doesn't support `FILE_RENAME_POSIX_SEMANTICS`).

`FILE_IS_A_DIRECTORY` and `NOT_A_DIRECTORY` were not proven to be possible, but they were also moved to the outer switch just in case.

Fixes #19785
2024-06-13 10:50:46 -04:00
..
Build std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
c std.fs.Dir.openFile: use wasi libc API when -lc 2024-04-18 17:49:05 -07:00
compress std.compress.flate: fix panic when reading into empty buffer 2024-05-09 15:51:42 -07:00
crypto crypto.edwards25519: add the ability to check for group membership (#20175) 2024-06-04 10:11:05 +02:00
dwarf extract std.posix from std.os 2024-03-19 11:45:09 -07:00
fmt implement ryu 64-bit backend 2024-03-29 22:15:17 -07:00
fs std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
hash std.hash.crc: update legacy crc usage in std 2024-04-28 21:12:55 +12:00
heap gpa: Add never_unmap and retain_metadata test 2024-05-21 19:09:52 +02:00
http std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
io Add File.getOrEnableAnsiEscapeSupport and use it 2024-06-02 16:46:21 -07:00
json update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
math math.hypot: fix incorrect over/underflow behavior (#19472) 2024-05-30 09:58:05 +00:00
mem
meta std: promote tests to doctests 2024-03-21 14:11:46 -07:00
net std.net, std.http: simplify 2024-02-23 02:37:11 -07:00
os std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
posix std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
process std.process.Child: fix spawning child proc with new cwd fd 2024-05-27 20:56:49 -07:00
Random extract std.posix from std.os 2024-03-19 11:45:09 -07:00
sort lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
tar std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
Target LLVM 18 std lib updates and fixes 2024-05-08 19:37:28 -07:00
testing
Thread std.Thread.Mutex.Recursive: alternate implementation 2024-06-12 18:07:39 -07:00
time std: promote tests to doctests 2024-03-21 14:11:46 -07:00
tz
unicode
valgrind valgrind client request wrappers take const pointers (#19237) 2024-03-26 14:00:13 +02:00
zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
zip std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
array_hash_map.zig std.array_hash_map: remove meta context verification 2024-03-21 19:40:56 -07:00
array_list.zig Refactor ArrayList replaceRange tests 2024-04-02 13:46:51 -07:00
ascii.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
atomic.zig bsd: debitrot AtomicOrder renames 2024-03-15 02:28:50 -04:00
base64.zig improve documentation in std 2024-03-10 18:13:30 -07:00
bit_set.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
BitStack.zig
bounded_array.zig Implement addManyAsSlice for BoundedArray 2024-05-21 13:46:05 +03:00
buf_map.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
buf_set.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
Build.zig build: inherit setExecCmd from test compile steps when creating run steps 2024-06-09 01:55:50 +02:00
builtin.zig riscv: back to hello world panics 2024-05-11 02:17:11 -07:00
c.zig handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
coff.zig lib/std/coff: add ImportNameType.NAME_EXPORTAS variant 2024-03-29 20:34:28 +01:00
compress.zig improve documentation in std 2024-03-10 18:13:30 -07:00
crypto.zig Merge pull request #19239 from jedisct1/ml-kem 2024-03-11 18:48:08 -07:00
debug.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
dwarf.zig riscv: remove an allocation from dwarf.zig 2024-05-11 02:17:11 -07:00
dynamic_library.zig handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
elf.zig improve documentation in std 2024-03-10 18:13:30 -07:00
enums.zig EnumMap: fix init 2024-05-26 16:13:54 -04:00
fifo.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
fmt.zig Progress: fix compile errors on windows 2024-05-27 20:56:48 -07:00
fs.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
gpu.zig std: add gpu namespace 2024-02-05 11:55:14 +03:30
hash.zig
hash_map.zig hash_map.zig: Pass self by value and less pointer-int conversion 2024-05-27 13:22:50 +03:00
heap.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
http.zig std.http.Server: expose arbitrary HTTP headers 2024-02-23 02:58:02 -07:00
io.zig add std.zip and support zip files in build.zig.zon 2024-05-03 16:58:53 -04:00
json.zig Delete compile errors for deprecated decls 2024-05-03 13:27:30 -07:00
leb128.zig Dwarf: improve x86_64 backend debug info 2023-11-12 03:21:52 -05:00
linked_list.zig Revert "std.SinglyLinkedList: add sort function" 2023-11-24 22:33:50 -07:00
log.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
macho.zig The Mach-O header flags gained two new members at some point, and these are missing in the Zig std library. This PR adds these. 2024-04-18 20:08:03 -07:00
math.zig Support Vectors in std.math.clamp 2024-06-01 13:28:16 +03:00
mem.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
meta.zig std.meta.hasUniqueRepresentation: better support packed structs 2024-06-02 23:29:10 +00:00
multi_array_list.zig std.builtin: make container layout fields lowercase 2024-03-11 07:09:07 -07:00
net.zig std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
once.zig std: improve std.once tests 2024-04-15 15:24:30 -07:00
os.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
packed_int_array.zig compiler: un-implement #19634 2024-04-17 13:41:25 +01:00
pdb.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
posix.zig posix.renameW: Handle DIRECTORY_NOT_EMPTY more generally 2024-06-13 10:50:46 -04:00
priority_dequeue.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
priority_queue.zig std: align PriorityQueue and ArrayList API-wise 2024-05-20 12:04:20 -04:00
process.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
Progress.zig std.Progress: use a recursive mutex for stderr 2024-06-12 17:43:49 -07:00
Random.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
RingBuffer.zig std.RingBuffer: use sliceAt/sliceFirst in read*AssumeLength 2024-03-10 18:17:23 +11:00
segmented_list.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
SemanticVersion.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
simd.zig Delete compile errors for deprecated decls 2024-05-03 13:27:30 -07:00
sort.zig std: Avoid overflowing in the midpoint calculation in upperBound 2024-05-28 20:44:42 -04:00
start.zig riscv: finally fix bug + airAggregateInit 2024-05-11 02:17:24 -07:00
start_windows_tls.zig
static_string_map.zig std.StaticStringMap: bump eval branch quota 2024-05-02 22:09:03 -07:00
std.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
tar.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
Target.zig LLVM backend: loongarch64 support 2024-06-05 13:43:35 -04:00
testing.zig rename zig-cache to .zig-cache 2024-05-29 10:20:15 -07:00
Thread.zig handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
time.zig handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
treap.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
tz.zig
unicode.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
Uri.zig std.http.Client: always omit port when it matches default 2024-04-12 22:37:07 -07:00
valgrind.zig
wasm.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
zig.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
zip.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00