1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/usr.bin/touch
schwarze bf2dd1059f Delete a useless call to setlocale(3): strptime(3) is only called
with %F and %T, neither of which is locale-dependent, and nothing
else in the code depends on the locale either, since most of the
parsing is done by hand and only supports numerical formats in the
first place.

While here, make usage() static and return from main rather than exit(3).

Patch from Jan Stary <hans at stare dot cz>.

tedu@ agrees.
2019-03-10 15:11:52 +00:00
..
Makefile
touch.1 drop redundant .Ns and reduce quoting 2015-09-25 17:02:57 +00:00
touch.c Delete a useless call to setlocale(3): strptime(3) is only called 2019-03-10 15:11:52 +00:00