CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2016/11/18 08:53:16
Modified files: usr.bin/printf : printf.c Log message: Delete useless call to setlocale(3). While the C library function printf(3) is used here and is locale-dependent, the printf(1) utility does not use the locale dependent parts %lc and %ls. While POSIX requires LC_NUMERIC support, we intentionally don't implement that in printf(3). In summary, no functional change. While here, sort headers and use the usual __dead usage() idiom. Based on a patch from Jan Stary <hans at stare dot cz>. OK bentley@