aboutsummaryrefslogtreecommitdiff
path: root/lib/std/process.zig
diff options
context:
space:
mode:
authorominitay <37453713+ominitay@users.noreply.github.com>2022-01-27 09:59:30 +0000
committerominitay <37453713+ominitay@users.noreply.github.com>2022-01-28 16:12:05 +0000
commitdc11fe4047450167f6b5b2b0e786881b86b3eb27 (patch)
tree7e25612faf4332948edcc8f165d1dfe9d8c52b04 /lib/std/process.zig
parentc3ef85aa7654af7f6f45ae9d6497d9fff42e9aff (diff)
downloadzig-dc11fe4047450167f6b5b2b0e786881b86b3eb27.tar.gz
zig-dc11fe4047450167f6b5b2b0e786881b86b3eb27.zip
std: Fix using fs.Dir.Iterator twice
This fixes the use of multiple `Iterator`s in a row on a directory. Previously, on many platforms, using an `Iterator` on an already-iterated directory would give no entries. Fixing this involved seeking to the beginning of the directory on the first call of `next()`.
Diffstat (limited to 'lib/std/process.zig')
0 files changed, 0 insertions, 0 deletions