-$Id: CHANGES,v 1.270 2005/01/24 10:32:01 stelian Exp $
+$Id: CHANGES,v 1.271 2005/01/25 13:33:41 stelian Exp $
Changes between versions 0.4b39 and 0.4b40 (released ????????????????)
======================================================================
to access it for example). Thanks to Kenneth Porter
<shiva@sewingwitch.com> for the bug report.
+2. Re-done the 'do not save directory entries to non-dumped inodes
+ (excluded from dump)' feature. The previous implementation
+ worked well for excluded directories but not for regular files.
+ Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+ report.
+
Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
======================================================================
#ifndef lint
static const char rcsid[] =
- "$Id: traverse.c,v 1.64 2004/12/15 09:31:49 stelian Exp $";
+ "$Id: traverse.c,v 1.65 2005/01/25 13:33:44 stelian Exp $";
#endif /* not lint */
#include <config.h>
*/
SETINO(ino, usedinomap);
+ if (NODUMP_FLAG(dp))
+ do_exclude_ino(ino, "nodump attribute");
+
if (mode == IFDIR)
SETINO(ino, dumpdirmap);
if (WANTTODUMP(dp, ino)) {
return;
}
if (mode == IFDIR) {
- if ( NODUMP_FLAG(dp) || exclude_ino(ino) )
+ if (exclude_ino(ino))
CLRINO(ino, usedinomap);
*dirskipped = 1;
}
int reclen;
/* do not save entries to excluded inodes */
- if (TSTINO(dirent->inode, dumpinomap) == 0 &&
- TSTINO(dirent->inode, dumpdirmap) == 0 &&
- TSTINO(dirent->inode, usedinomap) == 0)
+ if (exclude_ino(dirent->inode))
return 0;
p = (struct convert_dir_context *)private;