"Raphael Bossek" <[EMAIL PROTECTED]> writes:
> I invested some time to identify the problem because I thouhght is a problem
> of me. Now here is my patch to fix TAR:
>
> --- lib/timespec.h.orig 2006-07-19 16:01:51.000000000 +0200
> +++ lib/timespec.h 2006-07-20 08:22:57.000000000 +0200
> @@ -47,7 +47,7 @@
> {
> return (a.tv_sec < b.tv_sec ? -1
> : a.tv_sec > b.tv_sec ? 1
> - : a.tv_nsec - b.tv_nsec);
> + : 0);
> }
>
> # if ! HAVE_DECL_NANOSLEEP
That sounds too strong. Sometimes 'tar' should ignore the
nanoseconds, and sometimes not. That is why CVS tar has both a
timespec_cmp function and a tar_timespec_cmp function, for example.
In order to debug your problem we'll need more information.
Is there a simple way to reproduce it?
_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar