rm -rf -> Circular directory structure
Fergus Henderson
fjh@cs.mu.OZ.AU
Tue Aug 12 00:35:00 GMT 1997
"Igor V. Kovalenko" <iko@crec.mipt.ru> writes:
>Looking at ...include/sys/types.h I found that ino_t is actually
>unsigned short, that is only 16 bit in size. Thus, we (in 'rm' etc..)
>do compare the lower 16 bits of prepared by hash_path_name()
>32-bit integer.
> I think this is a main cause for $subj$, though the hashing
>function itself is not as perfect as it could be (in theory).
The whole idea of using a hash function to compute inode numbers
is fundamentally broken. Perhaps it would be better to think
about a solution that works rather than making a fundamentally
broken one slightly less broken.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list