Bug#98071: symlink to itself hangs

2001-05-19 Thread Roland McGrath
It looks like the ELOOP check is not being done for absolute symlinks. I think there was also a port leak in the ELOOP error case that did work (e.g. for "ln -s x x; ls -L x", ls would leak a send right). I've just checked in a fix for this to libc, but I have not tested it. Please tell me if it

Bug#98071: symlink to itself hangs

2001-05-19 Thread Marcus Brinkmann
Package: hurd Hi, the following doesn't return: $ cd /tmp $ ln -s /tmp/x x $ ls x The variant "ln -s x x" does not show such errornous behaviour. Filesystem is ext2fs. It is sufficient to do "ls". Here is a backtrace: Script started on Sun May 20 02:23:35 2001 marcus@ulysses:/tmp$ gdb /b b