This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: rm -rf -> Circular directory structure


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).

PS: Or do I have incorrect header file?
--
Igor V. Kovalenko   mailto:iko@crec.mipt.ru
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]