
24 Mar
2010
24 Mar
'10
8:34 p.m.
Zachary Turner wrote:
Can you see any problem with applying a fix where we just dont remove the trailing slash before recursing?
I think that in POSIX, if foo is a symlink to something that doesn't exist then exists("foo") will be true, but exists("foo/") will be false. In this particular algorithm I don't see this issue breaking something that works if you make your suggested change (barring crazy race conditions), but it could change the failure mode. John Bytheway