Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Your e-mail address:

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