authorgravatar for ypsvlq@gmail.comElaine Gibson <ypsvlq@gmail.com> 2025-06-04 23:15:35+01:00
committergravatar for ypsvlq@gmail.comElaine Gibson <ypsvlq@gmail.com> 2025-06-05 13:45:52+01:00
log7f7318700427875d5b0ec2f8601c12e5bc21cebe
treefbe6dd1ff64a8f643233d9ef4b05b6e06d12c9a4
parented48e2eb7599d93b6d3248391da7a7c7f1f92acf

std.fs.Dir: haiku fixes


1 files changed, 2 insertions(+), 1 deletions(-)

lib/std/fs/Dir.zig+2-1
...@@ -13,6 +13,7 @@ pub const Entry = struct {...@@ -13,6 +13,7 @@ pub const Entry = struct {
1313
14const IteratorError = error{14const IteratorError = error{
15 AccessDenied,15 AccessDenied,
16 PermissionDenied,
16 SystemResources,17 SystemResources,
17 /// WASI-only. The path of an entry could not be encoded as valid UTF-8.18 /// WASI-only. The path of an entry could not be encoded as valid UTF-8.
18 /// WASI is unable to handle paths that cannot be encoded as well-formed UTF-8.19 /// WASI is unable to handle paths that cannot be encoded as well-formed UTF-8.
...@@ -287,7 +288,7 @@ pub const Iterator = switch (native_os) {...@@ -287,7 +288,7 @@ pub const Iterator = switch (native_os) {
287 name,288 name,
288 false,289 false,
289 &stat_info,290 &stat_info,
290 0,291 @sizeOf(posix.Stat),
291 )))) {292 )))) {
292 .SUCCESS => {},293 .SUCCESS => {},
293 .INVAL => unreachable,294 .INVAL => unreachable,