Up to [local] / src / usr.bin / ul
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_0
Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 18 17:34:26 2016 UTC (8 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.15: +121 -21 lines
Diff to previous 1.15 (colored)
UTF-8 support: This is the first example of a program where doing the full char * to wchar_t * to char * double conversion is actually simpler than our usual approach of working with char * throughout. In part inspired by the FreeBSD version which is in turn based on Bruno Haible's work in util-linux, but not sharing any code and avoiding the almost half a dozen bugs that FreeBSD has. As a bonus reimplement overstrike() and iattr() almost from scratch, getting rid of useless malloc(3)ed local buffers. Add lots of missing information to the manual. No opposition when shown on tech@.