| author | |
| committer | |
| log | ad2ff9e65d91bd04ca48a7aceee3931ab7b00652 |
| tree | da04ff1329215be8958993d9674d451773133aec |
| parent | 2b7781d82ad8d2234b89257676670957e005f214 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fs.zig+1-1| ... | ... | @@ -352,7 +352,7 @@ pub const Dir = struct { |
| 352 | 352 | |
| 353 | 353 | const name = @ptrCast([*]u8, &darwin_entry.d_name)[0..darwin_entry.d_namlen]; |
| 354 | 354 | |
| 355 | if (mem.eql(u8, name, ".") or mem.eql(u8, name, "..")) { | |
| 355 | if (mem.eql(u8, name, ".") or mem.eql(u8, name, "..") or (darwin_entry.d_ino == 0)) { | |
| 356 | 356 | continue :start_over; |
| 357 | 357 | } |
| 358 | 358 |