From: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
To: Alvaro Herrera <alvherre@commandprompt.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-patches@postgresql.org
Subject: Re: Solve a problem of LC_TIME of windows.
Date: Wed, 24 Sep 2008 23:55:18 +0900
Message-ID: <00a201c91e55$8f912f80$0b01a8c0@IBMC9A0F63B40D> (raw)
References: <03c301c91737$be5a2a30$0e01a8c0@IBMC9A0F63B40D>
<48DA044D.10005@hagander.net>
<20080924141519.GA10480@alvh.no-ip.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-patches@postgresql.org
Cc: z-saito@guitar.ocn.ne.jp, alvherre@commandprompt.com, magnus@hagander.net
Subject: Re: Solve a problem of LC_TIME of windows.
In-Reply-To: <00a201c91e55$8f912f80$0b01a8c0@IBMC9A0F63B40D>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox