bug-gnulib
[Top][All Lists]
Advanced

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

struct timespec on NSK (FYI)


From: Matthew Woehlke
Subject: struct timespec on NSK (FYI)
Date: Fri, 08 Dec 2006 13:32:24 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

While trying to build gzip 1.3.7, I noticed inconsistent usage of gnulib's timespec.h via stat-time.h, which led me to dig up where 'struct timespec' is defined on NSK. It turns out the declaration is in spt_types.h, included in spthread.h. gzip's usage of stat-time.h seems broken (I've sent a patch to bugs-gzip), but for things to work 'well' it seems gnulib would need to know about spt_types.h.

There might be a problem with the replacement, since NSK's types.h defines time_t as 'long', but spt_types.h gives the type of tv_sec as 'unsigned long'. I assume that to pick up that the OS has struct timespec, it needs to know about spt_types.h?

--
Matthew
HIPPOS wallow slightly in the MUDDY RIVER
What do you want to do next?
> WALLOW IN MUDDY RIVER
You join HIPPOS.





reply via email to

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