Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5786/libntfs
Modified Files:
collate.c
Log Message:
Anyway, this extra check will not harm anybody, but in case windows support such names it's will be useful.
Index: collate.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/collate.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- collate.c 5 Jun 2005 14:55:09 -0000 1.3
+++ collate.c 6 Jun 2005 04:26:28 -0000 1.4
@@ -81,9 +81,14 @@ static int ntfs_collate_file_name(ntfs_v
fn2->file_name, fn2->file_name_length,
NTFS_COLLATION_ERROR, IGNORE_CASE, vol->upcase,
vol->upcase_len);
+ if (!rc) {
+ rc = ntfs_names_collate(fn1->file_name, fn1->file_name_length,
+ fn2->file_name, fn2->file_name_length,
+ NTFS_COLLATION_ERROR, CASE_SENSITIVE,
+ vol->upcase, vol->upcase_len);
+ }
ntfs_debug("Done, returning %i.", rc);
return rc;
-
}
typedef int (*ntfs_collate_func_t)(ntfs_volume *, const void *, const int,
|