[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] x86/Solaris test failure (25, 28)
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] x86/Solaris test failure (25, 28) |
Date: |
Thu, 08 Mar 2007 01:19:07 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Matthew Woehlke <address@hidden> writes:
> First, a build failure: I had to change src/xheader.c:1097:
>
> - const struct timespec mtime = data ? *(struct timespec *) data :
> st->mtime;
> + const struct timespec mtime = data ? *(const struct timespec *)
> data : st->mtime;
This has been fixed in a different way in the tar CVS, thus:
- const struct timespec mtime = data ? *(struct timespec *) data : st->mtime;
- code_time (mtime, keyword, xhdr);
+ struct timespec const *mtime = data;
+ code_time (mtime ? *mtime : st->mtime, keyword, xhdr);