mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 15:19:07 +00:00
std.fs.Dir: haiku fixes
This commit is contained in:
parent
ed48e2eb75
commit
7f73187004
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ pub const Entry = struct {
|
||||||
|
|
||||||
const IteratorError = error{
|
const IteratorError = error{
|
||||||
AccessDenied,
|
AccessDenied,
|
||||||
|
PermissionDenied,
|
||||||
SystemResources,
|
SystemResources,
|
||||||
/// WASI-only. The path of an entry could not be encoded as valid UTF-8.
|
/// WASI-only. The path of an entry could not be encoded as valid UTF-8.
|
||||||
/// WASI is unable to handle paths that cannot be encoded as well-formed UTF-8.
|
/// 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) {
|
||||||
name,
|
name,
|
||||||
false,
|
false,
|
||||||
&stat_info,
|
&stat_info,
|
||||||
0,
|
@sizeOf(posix.Stat),
|
||||||
)))) {
|
)))) {
|
||||||
.SUCCESS => {},
|
.SUCCESS => {},
|
||||||
.INVAL => unreachable,
|
.INVAL => unreachable,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue