From: "Ara.T.Howard" Date: 2005-09-06T22:11:31+09:00 Subject: Re: File::stat(any).ino => 0 [WAS] Re: Help me clean up this method On Tue, 6 Sep 2005, Daniel Berger wrote: > Ara.T.Howard wrote: > > > >> so, just to re-state the bug: File::stat(anypath).ino is always zero under the >> one click installer, but not under cygwin using the default or compiling by >> hand. > > Generally speaking, File.stat on Windows is not reliable. Too many of that > Stat members are either meaningless or wrong. Revamping it is on my TODO > list for the win32-file package. thanks daniel, some searching lead me to suspect this. seems like a severe limitation since 'ino' is the only way to determine if a file is unique - bummer. reading over the source leads me to think that the issue is simply a casting bug - but that the information should be there for ruby (in the inode). does this sound correct? cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================