From: iko AT crec DOT mipt DOT ru ("Igor V. Kovalenko") Subject: RE: rm -rf -> Circular directory structure 11 Aug 1997 17:48:49 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <33EF7405.AADDD43E.cygnus.gnu-win32@crec.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.01 [en] (WinNT; I) Original-To: gnu-win32 AT cygnus DOT com X-Priority: 3 (Normal) Original-Sender: owner-gnu-win32 AT cygnus DOT com 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 AT crec DOT mipt DOT ru - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".