Re: Can't compile SWI on FreeBSD
- From: Jan Wielemaker <jan@xxxxxxxxxxxxxxxxxxx>
- Date: 28 Sep 2006 08:32:29 GMT
On 2006-09-28, russell kym horsell <kym@xxxxxxxxxxxxxxxxxxx> wrote:
OK. I did look into it, and as you probably heard on both obsd and fbsd
(and, no doubt, nbsd as well) the clib "localtime.c" module does have those
daylight, timzone variables but under a USG conditional. I.e. old.
Probably now has something to do with avoiding reentrancy problems. You can
never tell when 2 threads might want to run in different timezones. :o
Still weird. These variables are part of the POSIX standard. Timezones
(and locale in general) are a nightmare with threads anyway; this is just
one of the many issues. Anyway, the current source works and I think it
is safe.
Cheers, and thanks for all the swipl. :)
Thanks for the feedback.
--- Jan
.
- References:
- Can't compile SWI on FreeBSD
- From: Mike Goodrich
- Re: Can't compile SWI on FreeBSD
- From: russell kym horsell
- Re: Can't compile SWI on FreeBSD
- From: Jan Wielemaker
- Re: Can't compile SWI on FreeBSD
- From: russell kym horsell
- Can't compile SWI on FreeBSD
- Prev by Date: Re: Can't compile SWI on FreeBSD
- Next by Date: Logtalk 2.28.0 now available
- Previous by thread: Re: Can't compile SWI on FreeBSD
- Next by thread: Sicstus Prologbeans
- Index(es):