Up to [local] / src / usr.bin / write
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_3_BASE
Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 5 19:00:39 2016 UTC (8 years, 3 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.32: +24 -15 lines
Diff to previous 1.32 (colored)
Make write explicitly ASCII only by transforming UTF-8 characters and non-ASCII bytes to a single '?'. This prevents sending of potentially harmful bytes to terminals who don't support UTF-8. written with help from schwarze@ text suggestions by jmc@ OK schwarze@ and semarie@