$OpenBSD: patch-src_create_c,v 1.1 2010/11/27 21:02:54 naddy Exp $

Fix bug with --one-file-system and --listed-incremental.

--- src/create.c.orig	Mon Nov  1 21:34:59 2010
+++ src/create.c	Sat Nov 27 21:34:19 2010
@@ -1680,7 +1680,7 @@ dump_file0 (struct tar_stat_info *st, char const *name
      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)))
