ntfs: fix POSIX vs Win32 filename compares
commit6abb4eb7ca8de9de2c6e5048ce45c779d5953819
authorPaulo Alcantara <pcacjr@gmail.com>
Sun, 25 Dec 2011 18:36:19 +0000 (25 15:36 -0300)
committerPaulo Alcantara <pcacjr@gmail.com>
Sat, 11 Feb 2012 19:06:07 +0000 (11 16:06 -0300)
tree6e35bf702f8560e7673a7f2cfe029266be5867d3
parent1a129991f1a5f6ca63a09299a994157082511446
ntfs: fix POSIX vs Win32 filename compares

When using the COMBOOT32 module "ls" for listining directory entries on
an NTFS volume, for e.g. directories as "/Foobar" (a Win32 filename)
could be only listed as "ls.c32 /foobar" and neither "ls.c32
"/Foobar" nor "ls.c32 /FOOBAR". POSIX filenames must be handled in a
case-sensitivity way, while Win32 filenames are handled in a
non-case-sensitivity way.

Note also that the POSIX/Win32 filename compare is done in the
ntfs_filename_cmp() function.

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
core/fs/ntfs/ntfs.c