Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfs-driver-tng/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv23238/scripts
Modified Files:
compat.c rl.c
Log Message:
resync attrib.c and rl.c
Index: compat.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/scripts/compat.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -U2 -r1.8 -r1.9
--- compat.c 12 Feb 2002 16:12:55 -0000 1.8
+++ compat.c 18 Feb 2002 01:53:00 -0000 1.9
@@ -46,5 +46,5 @@
#define ntfs_debug(f, a...) \
do { \
- printf(f, ##a); \
+ printf(f "\n", ##a); \
} while (0)
Index: rl.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-driver-tng/scripts/rl.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -U2 -r1.23 -r1.24
--- rl.c 18 Feb 2002 01:44:17 -0000 1.23
+++ rl.c 18 Feb 2002 01:53:00 -0000 1.24
@@ -337,7 +337,7 @@
#if 1
- ntfs_debug ("dst:\n");
+ ntfs_debug ("dst:");
ntfs_debug_dump_runlist (drl);
- ntfs_debug ("src:\n");
+ ntfs_debug ("src:");
ntfs_debug_dump_runlist (srl);
#endif
@@ -439,8 +439,8 @@
#if 0
- ntfs_debug("dfinal = %i, dend = %i\n", dfinal, dend);
- ntfs_debug("sstart = %i, sfinal = %i, send = %i\n", sstart, sfinal, send);
- ntfs_debug("start = %i, finish = %i\n", start, finish);
- ntfs_debug("ds = %i, ss = %i, dins = %i\n", ds, ss, dins);
+ ntfs_debug("dfinal = %i, dend = %i", dfinal, dend);
+ ntfs_debug("sstart = %i, sfinal = %i, send = %i", sstart, sfinal, send);
+ ntfs_debug("start = %i, finish = %i", start, finish);
+ ntfs_debug("ds = %i, ss = %i, dins = %i", ds, ss, dins);
#endif
if (start)
@@ -466,9 +466,9 @@
if (nrl != srl)
ntfs_free (srl);
- /*ntfs_debug ("Done.\n");*/
- /*ntfs_debug ("Merged run list:\n");*/
+ /*ntfs_debug ("Done.");*/
+ /*ntfs_debug ("Merged run list:");*/
#if 1
- ntfs_debug ("res:\n");
+ ntfs_debug ("res:");
ntfs_debug_dump_runlist (nrl);
#endif
@@ -684,5 +684,5 @@
if (deltaxcn < --max_cluster) {
//RAR ntfs_debug("More extents to follow; deltaxcn = 0x%Lx, "
- //RAR "max_cluster = 0x%Lx\n",
+ //RAR "max_cluster = 0x%Lx",
//RAR (long long)deltaxcn,
//RAR (long long)max_cluster);
@@ -705,5 +705,5 @@
(rl + rlpos)->vcn = vcn;
(rl + rlpos)->length = (s64)0;
- //RAR ntfs_debug("Mapping pairs array successfully decompressed.\n");
+ //RAR ntfs_debug("Mapping pairs array successfully decompressed.");
//RAR ntfs_debug_dump_runlist(rl);
/* If no existing run list was specified, we are done. */
@@ -835,5 +835,5 @@
memcpy (dst, file, size);
- ntfs_debug ("Test %2d ----------\n", test);
+ ntfs_debug ("Test %2d ----------", test);
res = merge_run_lists (dst, src);
|