CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/03/10 09:11:53

Modified files:
        usr.bin/touch  : touch.c 

Log message:
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.

Reply via email to