[Mono-list] ASP.NET on Mac OS X

Jonathan LaCour panix-lists@skinnee.net
Sun, 8 Feb 2004 12:52:53 -0500

On Feb 8, 2004, at 12:28 PM, Dan Winship wrote:
> That's a property of the filesystem though, not the OS. OS X does let
> you have UFS or case-sensitive HFS partitions (and OS X Server defaults
> to using a case-sensitive filesystem).
> If this were a POSIX C program, I'd say that you should stat() both
> files and only throw the exception if they have the same st_ino. But I
> don't know if you can translate that into C#/.Net.

I didn't even think of that.  You are correct, knowing that you are on 
Mac OS X actually doesn't fix the problem.  We need to manually check 
to see if they are the same file.  My bug probably should be updated to 
take this into account.

I will dig around a bit in corlib to see if there is any way for us to 
programmatically determine if the files are the same.

  - Jon