From fd414635d2d9a8ad36e9de739050f574ea0291f7 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Wed, 4 May 2011 09:56:58 -0600 Subject: [PATCH] upstream fix for dumping files with leading zeros correctly --- debian/changelog | 4 +++- dump/traverse.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f194b77..fc65f92 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ dump (0.4b43-2) UNRELEASED; urgency=low + * fix from upstream for problem dumping files with leading zeros correctly, + closes: #614068 * add Vcs entries to the control file - -- Bdale Garbee Thu, 11 Nov 2010 18:01:46 -0700 + -- Bdale Garbee Wed, 04 May 2011 09:56:42 -0600 dump (0.4b43-1) unstable; urgency=low diff --git a/dump/traverse.c b/dump/traverse.c index 6ed1d28..7450765 100644 --- a/dump/traverse.c +++ b/dump/traverse.c @@ -992,7 +992,7 @@ dumpino(struct dinode *dp, dump_ino_t ino, int metaonly) bc.buf = (int *)malloc (bc.max * sizeof (int)); bc.cnt = 0; bc.ino = ino; - bc.next_block = NDADDR; + bc.next_block = 0; ext2fs_block_iterate2(fs, (ext2_ino_t)ino, BLOCK_FLAG_DATA_ONLY, NULL, dumponeblock, (void *)&bc); /* deal with holes at the end of the inode */ -- 2.30.2