Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/libntfs
In directory usw-pr-cvs1:/tmp/cvs-serv24664/libntfs
Modified Files:
attrib.c
Log Message:
Fix a buglet in the library and same in ntfslabel.c
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/libntfs/attrib.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -U2 -r1.26 -r1.27
--- attrib.c 20 Apr 2002 23:09:42 -0000 1.26
+++ attrib.c 21 Apr 2002 10:11:36 -0000 1.27
@@ -1121,7 +1121,6 @@
{
if (ni && !mrec)
- ctx->mrec = ni->mrec;
- else
- ctx->mrec = mrec;
+ mrec = ni->mrec;
+ ctx->mrec = mrec;
/* Sanity checks are performed elsewhere. */
ctx->attr = (ATTR_RECORD*)((char*)mrec +
|