[Bug-tar] Fix testcase: Option -C does not work in combination with -u

2012-02-23 Thread Pavel Raiskup
Hello, tar (it seems that at least version from 1.23 to 1.26) fails to sync the archive contents against archived directory with the '--update' option when changing directory (the -C option) is active. Original report by Nicolas Mitsis: https://bugzilla.redhat.com/688567 Steps to

Re: [Bug-tar] Fix testcase: Option -C does not work in combination with -u

2012-02-23 Thread Pavel Raiskup
It looks like the only problem was that target children of given directory 'dir' (these files are expanded on update.c:160) were not inheriting the 'name-change_dir' info from its parent. Could you please consider proposed fix in attachement? Separate test-case is also attached. I'm trying to

Re: [Bug-tar] Fix testcase: Option -C does not work in combination with -u

2012-02-23 Thread Sergey Poznyakoff
Pavel Raiskup prais...@redhat.com ha escrit: I'm trying to re-send mentioned patches again because it seems that tar's mail archives did not recognize those correctly. I have received them. Thank you. Allow me some time to revise them, please. Regards, Sergey