From: daz Date: 2005-11-22T07:39:01+09:00 Subject: Re: [ ruby-Bugs-2858 ] testing for hardlink with "test(?-, ...)" flawed on Windows From: Nobu > Hi, > > At Mon, 21 Nov 2005 19:43:29 +0900, > daz wrote in [ruby-core:06677]: > > > I'm not sure if this works on Win9X or not. > > > > > > [.. patch ..] > > > > > > It fixes the bug; - I'm not sure if it should do more? > > [...] new method File.identical? [...] > Sorry, I didn't know how to test. If there aren't any hard links on Win9X, all I can think of is to compare the same file: f = 'D:\ruby\bin\irb.bat' p File.identical?(f, f) #-> false I'm not asking questions, just sending feedback as I'm the last person on the planet using 9X ;)) daz