$NetBSD: patch-al,v 1.1 2010/12/15 20:37:38 tez Exp $ fix bug with --one-file-system --listed-incremental (used by amanda) --- src/create.c.orig 2010-12-15 13:53:21.658522400 -0600 +++ src/create.c 2010-12-15 13:55:08.938651400 -0600 @@ -1680,7 +1680,7 @@ This check is omitted if incremental_option is set *and* the requested file is not explicitely listed in the command line. */ - if (!(incremental_option && !is_individual_file (p)) + if (! (incremental_option && ! top_level) && !S_ISDIR (st->stat.st_mode) && OLDER_TAR_STAT_TIME (*st, m) && (!after_date_option || OLDER_TAR_STAT_TIME (*st, c)))