[Top][All Lists]

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

Re: FYI, utimens was missing a dependency on timespec

From: Eric Blake
Subject: Re: FYI, utimens was missing a dependency on timespec
Date: Fri, 23 Feb 2007 16:49:24 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Jim Meyering <jim <at> meyering.net> writes:

> 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.

I took a closer look at it this morning.  What should I do about timespec_cmp
(), gettime(), and settime(), which currently appear only in timespec.h, but 
are in use by both coreutils and tar?  Until that is resolved, timespec.h (and 
the timespec module) can't be deleted.  Should we just move these function 
declarations into time_.h, even though they are not strictly part of time.h's 
namespace?  Or do we keep the timespec module, which both coreutils and tar 
explicitly request, as an add-on module not required by any other gnulib module?

Eric Blake

reply via email to

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