Tuesday, 13 May 2014

Re: netsurf: branch master updated. release/3.1-59-g1a3ee60

On 13/05/2014 19:28, Chris Young wrote:
> Hi Vince
>
>> add strptime compatability
>
> str(p|f)time "%s" appears to be a non-standard extension. Certainly

At least it doesn't seem to be part of POSIX:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/strptime.html
http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html

> it doesn't work here, and I can't see it in any documentation. It
> might be better to use %c, even though that needs a bit more storage
> space, or just use your compatibility functions for all platforms.


François.

No comments:

Post a Comment