Up to [local] / src / usr.bin / spell
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_7_BASE
Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 10 20:45:11 2019 UTC (5 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
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
Changes since 1.13: +5 -8 lines
Diff to previous 1.13 (colored)
Delete useless call to setlocale(3): Spell uses nothing locale-dependent, and it will never need support for non-English characters because the basic algorithms used are specific to the English language in the first place. While here, make usage() static and return from main() rather than exit(3). Minimially tweaked diff originally from Jan Stary. OK tedu@