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