Re: Redhat 7.3 time manipulation bug

Trond Eivind Glomsrød <teg@redhat.com>

From: Trond Eivind Glomsrød <teg@redhat.com>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: Manuel Sugawara <masm@fciencias.unam.mx>, PostgreSQL Hackers List <pgsql-hackers@postgresql.org>
Date: 2002-05-21T16:31:14Z
Lists: pgsql-hackers
On Tue, 21 May 2002, Lamar Owen wrote:

> On Tuesday 21 May 2002 11:04 am, Manuel Sugawara wrote:
> > I see. This behavior is consistent with the fact that mktime is
> > supposed to return -1 on error, but then is broken in every other Unix
> > implementation that I know.
> 
> > Any other workaround than downgrade or install FreeBSD?
> 
> Complain to Red Hat.  Loudly. However, as this is a glibc change, other 
> distributors are very likely to fold in this change sooner rather than 
> later. 

Relying on nonstandardized/nondocumented behaviour is a program bug, not a 
glibc bug. PostgreSQL needs fixing. Since we ship both, we're looking at 
it, but glibc is not the component with a problem.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.