Changes by: flatcap
Update of /cvsroot/linux-ntfs/linux-ntfs/libntfs
In directory usw-pr-cvs1:/tmp/cvs-serv24872
Modified Files:
attrib.c
Log Message:
damn, the wrong name_offset
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/attrib.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -U2 -r1.46 -r1.47
--- attrib.c 1 Jul 2002 23:22:35 -0000 1.46
+++ attrib.c 1 Jul 2002 23:43:53 -0000 1.47
@@ -2534,6 +2534,5 @@
*/
al_name_len = al_entry->name_length;
- al_name = (uchar_t*)((char*)al_entry +
- le16_to_cpu(al_entry->name_offset));
+ al_name = (uchar_t*)((char*)al_entry + al_entry->name_offset);
if (!name) {
if (al_name_len)
@@ -2587,5 +2586,5 @@
ntfs_are_names_equal((uchar_t*)((char*)
next_al_entry +
- le16_to_cpu(next_al_entry->name_offset)),
+ next_al_entry->name_offset),
next_al_entry->name_length,
al_name, al_name_len, CASE_SENSITIVE,
|