| From: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
|---|---|
| To: | "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Magnus Hagander" <magnus(at)hagander(dot)net> |
| Cc: | <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: Solve a problem of LC_TIME of windows. |
| Date: | 2008-09-24 14:55:18 |
| Message-ID: | 00a201c91e55$8f912f80$0b01a8c0@IBMC9A0F63B40D |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
Hi.
----- Original Message -----
From: "Alvaro Herrera" <alvherre(at)commandprompt(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2008-09-24 15:13:59 | Default SHMMAX on Linux |
| Previous Message | Hiroshi Saito | 2008-09-24 14:55:10 | Re: Solve a problem of LC_TIME of windows. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-09-24 16:04:22 | Re: hash index improving v3 |
| Previous Message | Hiroshi Saito | 2008-09-24 14:55:10 | Re: Solve a problem of LC_TIME of windows. |