1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/bin
Bill Fenner 99907703d9 Instead of eating trailing newlines after inserting them into the
output buffer, don't insert them at all.  This prevents a buffer
*underrun* when the substitution consists completely of newlines
(e.g. `echo`) and the byte before the source buffer to which p
points is a '\n', in which case more characters would be removed
from the output buffer than were inserted.

This fixes certain port builds on sparc64.

Approved by:	re (scottl)
Reviewed by:	des, tjr
2003-05-31 06:27:57 +00:00
..
cat We have to hide copyright[] for gcc33. :-( 2003-04-30 17:40:28 +00:00
chflags mdoc(7) police: Fix document date. 2003-05-16 21:18:01 +00:00
chio Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
chmod Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
cp Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
csh Make this WARNS=1 as that is all we can do with GCC 3.3 -- too many 2003-05-02 06:39:13 +00:00
date mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
dd Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
df df(1) and ls(1) print units in 'four or fewer' not 'three or less'. 2003-05-06 21:54:46 +00:00
domainname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
echo Note that -n and \c are implementation-defined as per TC1 to POSIX 2001. 2003-05-08 17:47:28 +00:00
ed Retire the useless NOSECURE knob. 2003-05-19 15:52:01 +00:00
expr mdoc(7) police: 2002-11-26 17:55:41 +00:00
getfacl Grammar. 2003-02-23 01:43:45 +00:00
hostname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
kenv Consistently use FBSDID 2002-06-30 05:25:07 +00:00
kill Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ln Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ls df(1) and ls(1) print units in 'four or fewer' not 'three or less'. 2003-05-06 21:54:46 +00:00
mkdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
mv Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
pax Fix a bazillion warnings. This makes almost the whole of src/bin/* 2003-05-03 16:39:34 +00:00
ps Fix long constant usage for i386. 2003-05-03 20:52:48 +00:00
pwd mdoc(7) police: A better version of the same. 2003-05-16 21:19:32 +00:00
rcp Fix a bazillion warnings. This makes almost the whole of src/bin/* 2003-05-03 16:39:34 +00:00
realpath realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX. 2003-01-15 21:22:55 +00:00
rm Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
rmail
rmdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
setfacl Add "-h" arguments to getfacl and setfacl, which behave in a manner 2002-12-30 15:36:29 +00:00
sh Instead of eating trailing newlines after inserting them into the 2003-05-31 06:27:57 +00:00
sleep Fix warnings. This is now WARNS=9, std=c99 clean in i386. 2003-05-03 10:14:26 +00:00
stty Fix format warning. This is WARNS=9, std=c99 clean on i386. 2003-05-03 10:16:51 +00:00
sync Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
test o Backout rev. 1.40 and rev. 1.49. 2002-08-15 14:53:20 +00:00
uuidgen Erase whitspace at EOL. 2003-05-22 13:10:32 +00:00
Makefile chflags(1) repo copied, usr.bin->bin. 2003-02-18 19:51:59 +00:00
Makefile.inc Remove gCC'isms. 2002-05-10 01:48:15 +00:00