bug-gnulib
[Top][All Lists]
Advanced

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

Re: FYI, utimens was missing a dependency on timespec


From: Jim Meyering
Subject: Re: FYI, utimens was missing a dependency on timespec
Date: Fri, 23 Feb 2007 16:24:58 +0100

Eric Blake <address@hidden> wrote:
> According to Jim Meyering on 2/22/2007 2:26 PM:
>> This fixes it:
>>
>>      * modules/utimens (Depends-on): Add timespec, required for
>>      utimens.h's inclusion of timespec.h.
>
> stat-time is another module that uses raw timespec.h without depending on
> the timespec module, breaking CVS findutils.  But I thought the point of
> the recent addition of time_.h was to get rid of the timespec.h header
> altogether, and that the time module should take care of this.  So both
> utimens and stat-time need some attention.

Yep.

And getdate.h.

There is a declaration of struct timespec in time_.h,
so utimens.h, stat-time.h, and getdate.h should include <time.h>
rather than timespec.h.  Then timespec.h can be removed.

I'll look into that over the weekend, if no one else does it first.




reply via email to

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