Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9344/libntfs
Modified Files:
attrib.c
Log Message:
probably a bug in __ntfs_attr_init
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -p -r1.161 -r1.162
--- attrib.c 19 Jun 2005 21:09:40 -0000 1.161
+++ attrib.c 20 Jun 2005 14:23:27 -0000 1.162
@@ -256,7 +256,7 @@ static __inline__ void __ntfs_attr_init(
na->name = name;
na->name_len = name_len;
} else {
- na->name = AT_UNNAMED;
+ na->name = NULL;
na->name_len = 0;
}
}
@@ -2728,7 +2728,8 @@ put_err_out:
* EINVAL - Invalid argumets passed to function.
* EIO - I/O error occured or damaged filesystem.
*/
-int ntfs_attr_record_rm(ntfs_attr_search_ctx *ctx) {
+int ntfs_attr_record_rm(ntfs_attr_search_ctx *ctx)
+{
ntfs_inode *base_ni, *ni;
ATTR_TYPES type;
int err;
|