[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25294] assertion failure on dangling symlink to //
From: |
Eric Blake |
Subject: |
[bug #25294] assertion failure on dangling symlink to // |
Date: |
Sun, 11 Jan 2009 03:32:01 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16 Mnenhy/0.7.5.666 |
Follow-up Comment #2, bug #25294 (project findutils):
The assertion failure can also be reproduced with a loop:
$ mkdir example
$ ln -s loop example/loop
$ find -L example
example
find: `example/loop': Too many levels of symbolic links
assertion "state.type != 0" failed: file "ftsfind.c", line 475, function:
consider_visiting
Aborted (core dumped)
As I see it, this only depends on having a system with d_type support, but on
a file system where readdir returns DT_UNKNOWN on at least dangling symlinks.
Therefore, I think that it should be possible to find a file system under
Linux that can reproduce this failure, rather than relying on the
cygwin-specific behavior in stat'ing a dangling symlink to "//nowhere".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25294>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/