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 {
1313
1414const IteratorError = error{
1515 AccessDenied,
16 PermissionDenied,
1617 SystemResources,
1718 /// WASI-only. The path of an entry could not be encoded as valid UTF-8.
1819 /// 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) {
287288 name,
288289 false,
289290 &stat_info,
290 0,
291 @sizeOf(posix.Stat),
291292 )))) {
292293 .SUCCESS => {},
293294 .INVAL => unreachable,