# std.fs: Fix Walker closing the initial directory when not fully iterated · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4624c818991f161fc6a7021119e4d071b6e40e6c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4624c818991f161fc6a7021119e4d071b6e40e6c

Requested commit: 4624c818991f161fc6a7021119e4d071b6e40e6c

Commit: 4624c818991f161fc6a7021119e4d071b6e40e6c

Tree: 692add57db315f0c43ab4dd1d8ebc1b7bc19dae9

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
std.fs: Fix Walker closing the initial directory when not fully iterated

This is a fix for a regression caused by https://github.com/ziglang/zig/commit/61c5d8f8f19d4321a492cb8a1adc4d221024f7d9

Closes #12209

```

## Parents

- [934573fc5db1307caf559cc485e0e557a7c655e2](https://git.cafe/gitcafe/zig/commit/934573fc5db1307caf559cc485e0e557a7c655e2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4624c818991f161fc6a7021119e4d071b6e40e6c?format=markdown)
