On 24 June 2016 at 10:31, Karel Zak <kzak@xxxxxxxxxx> wrote: > On Mon, Jun 20, 2016 at 09:40:36PM +0100, Sami Kerola wrote: >> The utmpdump timestamps are unambiguous, so forcing locale environment is >> never needed. > > and what about strptime()? > > I think it's fine to keep tests robust and in well know environment. strptime(3) is no longer expected to make timestamp to be localized. Perhaps it would be best to give strptime(3) wrong ideas about timezone, so that one can observe gmtime(3) to do the right thing. To express same in form of change, here we go: https://github.com/kerolasa/lelux-utiliteetit/commit/73f46aedc316efbb8e2a719c1c6c3aef364a5553 -- Sami Kerola http://www.iki.fi/kerolasa/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html