Re: Case sensitivity in filenames on Windows
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Case sensitivity in filenames on Windows
- From: Paul K <paulclinger@...>
- Date: 2012年9月24日 20:29:35 -0700
Hi Peter,
On Sun, Sep 23, 2012 at 6:04 PM, Peter Cawley <lua@corsix.org> wrote:
> Case insensitivity is just one case of a file having multiple names.
> All modern file systems (even on the Windows side) support symbolic
> links, which are another case of multiple names. A general solution
> isn't to compare (normalised) file paths, but compare the underlying
> file numbers. On Linux, this would be comparing inodes. On Windows,
This makes sense; unfortunately, with a remote debugger I have no way
of knowing where exactly the controller is and it may be running on a
different system (same OS, but a different computer), so I can't
really compare file numbers/inodes. Also, in the debugger I only see
relative paths reported and I didn't want to drag lfs or something
similar into this to get current directory and map relative paths to
absolute ones.
Paul.