bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] major problem with --listed-incremental silently failing


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] major problem with --listed-incremental silently failing
Date: Tue, 13 Dec 2005 01:06:59 EET

John R. Vanderpool <address@hidden> wrote:

> thanx for the reply.  that's not what i'm seeing (i don't think at
> least).

Yes, you are right. It is another issue. Please try the following
patch:

Index: src/incremen.c
diff -pur tar-1.15.1/src/incremen.c tar-1.15.1-n/src/incremen.c
--- tar-1.15.1/src/incremen.c   2004-09-06 14:30:42.000000000 +0300
+++ tar-1.15.1-n/src/incremen.c 2005-12-13 01:01:41.000000000 +0200
@@ -216,7 +216,8 @@ scan_directory (struct obstack *stk, cha
                       : CHANGED_CHILDREN);
                  }
 
-               if (one_file_system_option && device != stat_data.st_dev)
+               if (one_file_system_option && device != stat_data.st_dev
+                    && !name_scan (name_buffer)) 
                  directory->children = NO_CHILDREN;
                else if (children == ALL_CHILDREN)
                  directory->children = ALL_CHILDREN;
 

> another person replied directly and said that --one-file-system and
> --listed-incremental are being now touted as mutually exclusive

No, of course they are not.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]