Re: Timezone problems / HAVE_INT_TIMEZINE

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: Timezone problems / HAVE_INT_TIMEZINE
Дата
Msg-id 35108C9C.597A252E@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
Ответы Re: Timezone problems / HAVE_INT_TIMEZINE  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
> Couldn't this be tested for, just like there is a "flex test" which
> finds out if flex is ok or not? Can the configure script find out and
> add HAVE_INT_TIMEZONE if appropriate?

Uh, it does a test already by trying to compile a program referencing a
global integer variable called "timezone". Somehow a few systems will
compile that but don't really have a useful integer timezone
(RH5.0/glibc2.0 is one of those).

I'm wondering if we could change the sense of the test, to try instead
to test for the presence of a timezone field in the tm structure? That
might fix the glibc2.0 port (assuming it still has problems at v2.0.7;
haven't tested recently) but I don't know which other ports might break.

Can we experiment with this Marc?? Post-megapatch of course :)

                      - Tom

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [PATCHES] patches for 6.2.1p6
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] regression testing on linux-elf 2.0.33, postgresql 6.3, i686