Changes by: aia21
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357.server4you.de:/tmp/cvs-serv14905/libntfs
Modified Files:
attrib.c
Log Message:
Yura uses ntfs_attr_lookup() in a way it never was anticipated to work so my
fix broke his way of working. This is a middle ground where both should work.
This still leaves a bug in collation of attribute list entries though which
needs to be investigated and fixed...
Index: attrib.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -p -r1.215 -r1.216
--- attrib.c 23 Jul 2006 21:43:08 -0000 1.215
+++ attrib.c 27 Jul 2006 08:38:17 -0000 1.216
@@ -1,7 +1,7 @@
/**
* attrib.c - Attribute handling code. Part of the Linux-NTFS project.
*
- * Copyright (c) 2000-2005 Anton Altaparmakov
+ * Copyright (c) 2000-2006 Anton Altaparmakov
* Copyright (c) 2002-2005 Richard Russon
* Copyright (c) 2004-2006 Yura Pakhuchiy
*
@@ -2062,7 +2062,7 @@ do_next_attr_loop:
le32_to_cpu(ctx->mrec->bytes_allocated))
break;
if (a->type == AT_END)
- break;
+ continue;
if (!a->length)
break;
if (al_entry->instance != a->instance)
|