Re: Solve a problem of LC_TIME of windows.

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: Solve a problem of LC_TIME of windows.
Дата
Msg-id 00a201c91e55$8f912f80$0b01a8c0@IBMC9A0F63B40D
обсуждение исходный текст
Ответ на Solve a problem of LC_TIME of windows.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Список pgsql-patches
Hi.

----- Original Message -----
From: "Alvaro Herrera" <alvherre@commandprompt.com>
> What about this line?
>
> #define STRLEN_MAX 255
>
> Are we really sure the strftime format cannot be longer than that?

Ahh, although the place to replace is here, is it said that MAX_L10 N_DATA is suitable?
--
cache_locale_time(void)
{
..
        char            buf[MAX_L10N_DATA];
..
                strftime(buf, MAX_L10N_DATA, "%a", timeinfo);

Regards,
Hiroshi Saito

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

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: Solve a problem of LC_TIME of windows.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: hash index improving v3