Re: [xslt] Fail build of OpenBSD



(Sat, Aug 18, 2001 at 11:55:07AM +0000) Bjorn Reese :
> Daniel Veillard wrote:
> 
> >   They are both defined as
> >      time_t gmt, lmt;
> > 
> > Isn't time_t supposed to be a scalar type ?
> Yes, it is defined as an arithmetic type, but I think that the problem
> is 'timezone' (which is part of the X/Open standard, but neither ISO C
> nor POSIX).
> The OpenBSD man page on localtime() does not mention the 'timezone'
> variable. Instead it has tm_gmtoff in struct tm, which is described as
> "the offset (in seconds) of the time represented from UTC, with positive
> values indicating east of the Prime Meridian."
For more information, here is the timezone(3) manpage in OpenBSD :

   http://www.shellhung.org/timezone_3.txt

> Ah, the joys of portability :)
Well, Linux to *BSD :-)

-- 
Best Regards,
Shell Hung   <shell@shellhung.org>
http://www.shellhung.org




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