Re: Solve a problem of LC_TIME of windows. - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Solve a problem of LC_TIME of windows.
Date
Msg-id 20080924141519.GA10480@alvh.no-ip.org
Whole thread Raw
In response to Re: Solve a problem of LC_TIME of windows.  (Magnus Hagander <magnus@hagander.net>)
List pgsql-patches
Magnus Hagander wrote:

> Also, the patch needs error checking. strftime() can fail, and the
> multibyte conversion functions can certainly fail. That will need to be
> added.

What about this line?

#define STRLEN_MAX 255

Are we really sure the strftime format cannot be longer than that?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Subtransaction commits and Hot Standby
Next
From: "Hiroshi Saito"
Date:
Subject: Re: Solve a problem of LC_TIME of windows.