Up to [local] / src / usr.bin / printf
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_9_BASE
Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 18 15:53:16 2016 UTC (7 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.25: +9 -13 lines
Diff to previous 1.25 (colored)
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@