[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: struct timespec on NSK (FYI)
From: |
Paul Eggert |
Subject: |
Re: struct timespec on NSK (FYI) |
Date: |
Fri, 08 Dec 2006 17:39:50 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Matthew Woehlke <address@hidden> writes:
> Given the difference (tv_secs signed vs unsigned), do you really
> expect treating a signed as an unsigned to matter? Is tv_secs allowed
> to be negative?
On most hosts, yes. POSIX doesn't specify what happens, but usually
it's the obvious thing of time stamps before 1970. POSIX allows
unsigned time_t, but few hosts do that because it violates application
expectations.
> gzip looks OK (sans the problem in zip.c). Not sure about the rest of
> gnulib; does it ever pull any of the following headers?
> spt_types.h cma.h cma_*.h pthread.h spthread.h pthread_exc.h
gzip won't. So we're OK.