summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2009-12-12 18:18:46 +0000
committerjh <jh@FreeBSD.org>2009-12-12 18:18:46 +0000
commit6f2f9130ae5714e33ad56898dfeb3e346eabe1ac (patch)
treebaf10a3cfd8781a67dfd541bad7dcfd9be5bec94 /share/man
parent1cb0051d8fdfdee7a6f9572c91c5c1f89d419c53 (diff)
downloadFreeBSD-src-6f2f9130ae5714e33ad56898dfeb3e346eabe1ac.zip
FreeBSD-src-6f2f9130ae5714e33ad56898dfeb3e346eabe1ac.tar.gz
Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when comparing lines. Also, if an input line didn't contain a newline character, it was omitted from the output. According to my interpretation, SUSv3 requires that the newline is always printed. Add regression tests for the cases. [1] PR: bin/140976 Submitted by: D'Arcy Cain (original version) [1] Approved by: trasz (mentor)
Diffstat (limited to 'share/man')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud