diff options
author | dds <dds@FreeBSD.org> | 2004-05-10 17:12:52 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2004-05-10 17:12:52 +0000 |
commit | 9498b96a34223c48bc0f1e186c7fae665bbe522f (patch) | |
tree | fa51c27f23ef454fc75f997c7a325729cd80a0c2 /gnu/usr.bin | |
parent | 5994ff7b4c470c55ddf16a452334d6deaf635f27 (diff) | |
download | FreeBSD-src-9498b96a34223c48bc0f1e186c7fae665bbe522f.zip FreeBSD-src-9498b96a34223c48bc0f1e186c7fae665bbe522f.tar.gz |
Remove a trailing newline, to behave as documented in syslog(3):
"A trailing newline is added if none is present."
The code in syslogd, stderr, and console output always adds a newline
at the EOL. However, the existing code never actually removed a
trailing newline, and apparently relied on syslogd to convert it
into a space character. Thus, the existing newline was converted
to a trailing space at the EOL by syslogd, while stderr, and console
output resulted in an empty line.
MFC after: 2 weeks
Diffstat (limited to 'gnu/usr.bin')
0 files changed, 0 insertions, 0 deletions