Re: [HACKERS] Patch for glibc2 date problems

Thomas Lockhart <lockhart@alumni.caltech.edu>

From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: The Hermit Hacker <scrappy@hub.org>, pgsql-hackers@hub.org
Date: 1998-01-16T02:16:32Z
Lists: pgsql-hackers
> The patch for glibc2 dates is attached.  With this applied, a Linux system
> with libc6 (glibc2) passes all the date and time related regression tests.

It looks as though this patch is a bit Linux-specific (or specific to some version of glibc which has only been tested on
Linux).

Can we wait until glibc2 settles down, or provide this as an add-on patch rather than merging it into the main tree? I hate
adding machine-specific code into otherwise general code...

Another possibility would be to add a new #define variable like HAVE_FUNNY_LIBRARY in config.h or in linux.h so we can
possibly use this with other ports if necessary in the future.

I'm planning on installing RH5.0 sometime soon (I have a clean disk so can fall back to RH4.2). I'm sure I'll sound more
sympathetic by then  :)

                                                    - Tom