Tom Lane wrote:
> > I'm concerned, but in the few moments I've had to play with this, what
> > looked like the obvious fix didn't seem to work (I was hacking on glibc
> > itself though).
>
> Red Hat's internal opinion seems to be that "#define NO_MKTIME_BEFORE_1970"
> is a sufficient answer. I consider that well to the south of sucking,
> but at this point I really doubt that we have the time to implement a
> better answer for 7.3. A better answer seems to mean writing our own
> interface to the zic timezone database. Make no mistake: I think we
> should do that, and will do it eventually. I just doubt it'll happen
> in the next two weeks. And again, I do not feel we should hold up 7.3
> to wait for a solution.
So everyone's conclusion is that we can't patch over this problem with a
patched up version on the link line, so I will just add it to the TODO
list:
* Fix glibc's mktime() to handle pre-1970's dates
Do we have a way to detect this bug and warn users somehow?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073