From: Bdale Garbee Date: Wed, 4 May 2011 15:56:58 +0000 (-0600) Subject: upstream fix for dumping files with leading zeros correctly X-Git-Tag: debian/0.4b44-1~9 X-Git-Url: https://git.gag.com/?p=debian%2Fdump;a=commitdiff_plain;h=fd414635d2d9a8ad36e9de739050f574ea0291f7 upstream fix for dumping files with leading zeros correctly --- 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 */