Subject: Re: kern/6347
To: Gandhi woulda smacked you <greywolf@starwolf.com>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 07/13/1999 15:39:04
>...you mean our time_t is still interpreted as a signed value? That's not
>very Y1.990K compliant :-)
man difftime(3). oh...wait. that returns a double. hmm...i wonder...
>[FWIW: Solaris 7 interprets time_t as unsigned, which extends years to
> somewhere in 2100 or so...]
hmm?
% uname -a
SunOS zeus 5.7 Generic sun4m sparc SUNW,SPARCstation-20
% grep typedef.\*\\\<time_t /usr/include/sys/*
/usr/include/sys/siginfo.h:typedef long time_t; /* time of day in seconds */
/usr/include/sys/stat.h:typedef long time_t; /* time of day in seconds */
/usr/include/sys/time.h:typedef long time_t; /* time of day in seconds */
/usr/include/sys/types.h:typedef long time_t; /* time of day in seconds */
did they change long too?
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."