Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKGWAO-gYuwiGjaXM_s6OYeKa_nosGQeJtRPqK51Szhdo3-E5g@mail.gmail.com>
Date: Sat, 14 Jul 2018 22:14:50 -0500
From: Will Dietz <w@...z.org>
To: musl@...ts.openwall.com
Subject: [PATCH] strptime: add basic support for '%s' (seconds since epoch)

Attached.

Background/context:

* http://www.openwall.com/lists/musl/2018/01/18/4
* http://austingroupbugs.net/view.php?id=169#c283

Seems to work on basic usage, but has not yet been thoroughly tested/vetted.
Sharing in case useful / good starting point regardless ;).

Also available on github:
https://github.com/dtzWill/musl/tree/feature/strptime-s-fmt

~Will

View attachment "strptime-s.patch" of type "text/x-patch" (1134 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.