freebsd-skq/lib/libc
Peter Wemm 11e67a9f2e Fix the problem that I aroused with the last commit..
What was happening, is if syslogd was not running, syslog() would do
a strcat("\r\n") on a non-null-terminated buffer, and write it to the console.

This meant that sometimes extra characters could be written to the console
during boot, depending on the stack contents.

This totally avoids the potential problem by using writev() like the rest
of the does, and avoid modifying the buffer after the trouble we've gone to
to carefully protect it.

This is actually a trivial fix, in spite of the long commit message.. :-)
It only appeared during boot and shutdown with syslogd stopped.
1995-10-05 00:11:15 +00:00
..
amd64 Calling sbrk(2) with zero argument doesn't need to generate a syscall. 1995-10-04 15:58:57 +00:00
compat-43 Remove setre*id*. 1995-04-25 10:00:04 +00:00
db Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
gen Fix the problem that I aroused with the last commit.. 1995-10-05 00:11:15 +00:00
gmon Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
i386 Calling sbrk(2) with zero argument doesn't need to generate a syscall. 1995-10-04 15:58:57 +00:00
locale Forget to close file 1995-08-11 08:44:31 +00:00
net Remove the CFLAGS+=-I${CURDIR}/net that I previously added. 1995-08-21 17:50:01 +00:00
nls Add /usr/local/share/nls to default search path 1995-06-17 03:02:21 +00:00
quad Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
regex Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
rpc Reviewed by: David Greenman 1995-08-02 09:14:23 +00:00
stdio Make a link-time warning for the use of gets(). 1995-10-04 18:29:01 +00:00
stdlib A buglet when dumping and a stylistic point from Mike. 1995-09-22 14:11:00 +00:00
stdtime Fix manpage to reflect current sources 1995-08-07 23:36:08 +00:00
string Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
sys Add man pages for the SYSV shm* and sem* functions. 1995-10-03 19:17:21 +00:00
xdr Confirmed to work by: rcarter@geli.com (Russell Carter) 1995-07-22 23:32:13 +00:00
yp Clear up a minor bogosity in yp_match(): we have YPMATCHCACHE turned 1995-09-02 04:16:21 +00:00
Makefile Bump shlib minor because xdr_* functions have been enabled. Do NOT 1995-08-09 06:50:52 +00:00