diff options
Diffstat (limited to 'archivers/gtar/files/patch-src_create.c')
-rw-r--r-- | archivers/gtar/files/patch-src_create.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/archivers/gtar/files/patch-src_create.c b/archivers/gtar/files/patch-src_create.c new file mode 100644 index 000000000000..05ee743a2f58 --- /dev/null +++ b/archivers/gtar/files/patch-src_create.c @@ -0,0 +1,15 @@ +$FreeBSD$ + +Fix bug with --one-file-system and --listed-incremental. + +--- src/create.c.orig 2010-11-01 21:34:59.000000000 +0100 ++++ src/create.c 2010-11-27 21:12:55.000000000 +0100 +@@ -1680,7 +1680,7 @@ dump_file0 (struct tar_stat_info *st, ch + 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))) |