Jason Andresen <[EMAIL PROTECTED]> writes:
> Dag-Erling Smorgrav wrote:
> > I ran into this bug while analyzing a customer's logs to determine the
> > best time of day for an upgrade. The original script was in Perl, but
> > I rewrote it in C because it was too slow. The C version produces
> > incorrect results when compiled with -O. Note that the log starts at
> > 16:27.
> Er, isn't this the kind of problem the GCC folks are more likly to be
> able to fix?
Sure, but I thought people on this list (especially David O'Brien)
might have some insights.
Anyway, I found the bug - it's not a compiler bug, it's simply a
matter of passing a partially uninitialized struct tm to mktime().
DES
--
Dag-Erling Smorgrav - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message