$ cd /tmp/example $ ls $ mkdir -p a/b $ ln -s a/b b $ touch a/c a/b/d $ ls b d $ ls b/.. # bug - should list contents of a, not . a b $ ls a b c $ ls none/.. # bug - should fail with ENOENT a b $ ln -s e e $ readlink -v e/none readlink: e/foo: Too many levels of symbolic links $ ls e/.. # bug - should fail with ELOOP a b e
Basically, cygwin is blindly collapsing dir/.. into nothing, without first verifying dir, in violation of POSIX.
-- Someday, I might put a cute statement here.
Eric Blake [EMAIL PROTECTED]
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/