summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2003-12-23 23:07:33 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitf6270e57003a4249749676a189f19800f86ae6e3 (patch)
tree6a8832c3266f889ee52ea2d7d49ad0c47551d487
parent826b885170133de8017b20aa884db8ff91ba6534 (diff)
downloaddump-f6270e57003a4249749676a189f19800f86ae6e3.zip
dump-f6270e57003a4249749676a189f19800f86ae6e3.tar.gz
- ugly and seems obsolete+wrong since 0.4b1 (now it swaps bytes 2nd time)
Changed files: dump-sparc.patch -> 1.3
-rw-r--r--dump-sparc.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/dump-sparc.patch b/dump-sparc.patch
deleted file mode 100644
index 6436d37..0000000
--- a/dump-sparc.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-*** dump-0.3/dump/traverse.c.dist Mon Dec 9 15:47:09 1996
---- dump-0.3/dump/traverse.c Mon Dec 9 15:47:32 1996
-@@ -57,6 +57,7 @@
- #ifdef __linux__
- #include <linux/ext2_fs.h>
- #include <ext2fs/ext2fs.h>
-+#include <asm/bitops.h>
- #include <bsdcompat.h>
- #include <compaterr.h>
- #include <stdlib.h>
-@@ -1130,11 +1131,18 @@
- cnt = NINDIR(sblock) * sblock->fs_frag;
- #endif
- *size -= NINDIR(sblock) * sblock->fs_bsize;
-+#if defined(__linux__) & defined(__sparc__)
-+ for(i = 0 ; i < cnt ; i += 1)
-+ idblk[i] = __swab32(idblk[i]);
-+#endif
- blksout(&idblk[0], cnt, ino);
- return;
- }
- ind_level--;
- for (i = 0; i < NINDIR(sblock); i++) {
-+#if defined(__linux__) & defined(__sparc__)
-+ idblk[i] = __swab32(idblk[i]);
-+#endif
- dmpindir(ino, idblk[i], ind_level, size);
- if (*size <= 0)
- return;