Mail Archives: djgpp-workers/2002/10/16/01:59:04
> > > If we cache getenv() properly in the tzset(), we'll only call it once.
> > Agree. That was my original point, but IZ resist.
>
> If "IZ" is me, then this is a misunderstanding: I never objected to
> speeding up time functions.
Eli knows a lot more about the time functions than I do. There may be
some pathological sequence that I hadn't considered on my inspection,
which is why I'd like him to be comfortable with it or suggest how it's
broken. For example, tzsetwall() seems to currently be a no-op in DJGPP
(outside ctime) since we call internally tzset() everyplace which will
override it. My suggested change would actually make it "stick" - and
I'm not sure if that's right.
I can't find any decent documentation on how it should behave (it's not
even available on some unix boxes, and the Solaris documentation is
pretty sparse/useless on it).
Once I know, I have suggestions for other patch possibilities if the
current one isn't right...
- Raw text -