[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Problem w/ --compare in 1.14 & 1.15.1 on FC3
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Problem w/ --compare in 1.14 & 1.15.1 on FC3 |
Date: |
Thu, 07 Apr 2005 14:23:15 +0300 |
Hi Glenn,
I have tested your script with tar 1.13.25 and obtained the same
results as with 1.15.1.
Attached is a patch to 1.15.1 that should fix the problem. Please test
it and inform me if it works for you.
Regards,
Sergey
Index: src/compare.c
===================================================================
RCS file: /cvsroot/tar/tar/src/compare.c,v
retrieving revision 1.24
diff -p -u -r1.24 compare.c
--- src/compare.c 5 Feb 2005 22:00:48 -0000 1.24
+++ src/compare.c 7 Apr 2005 10:36:59 -0000
@@ -56,6 +56,8 @@ diff_init (void)
{
void *ptr;
diff_buffer = page_aligned_alloc (&ptr, record_size);
+ if (listed_incremental_option)
+ read_directory_file ();
}