Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dom0
· 9y ago · 0 comments
It's still a race though - you
have
to loop (possibly indefinitely).
Comments
[–]
ygra
9y ago
Ok, didn't think of another thread changing the directory. Still, there's an upper bound around 32 kilo code units, so not indefinitely. Unless UNC paths are not bounded, don't know about that right now.
[–]
dom0
OP
9y ago
True, thought the wrong way about it.
[–]
wfunction
9y ago
It's funny because I know this but I'm pretty sure I forget it when coding...