NetBSD/bin
dholland 07c23da28f Don't use the length return from snprintf to write out the result
buffer. If snprintf truncated the output, the length returned will be
greater and we'll write trash. Just call strlen instead. (And since
what we're doing is writing progress messages to the user, checking
carefully for truncation isn't really worthwhile either.)

Spotted when attending to PR 50998 from David Binderman; the issue
there (computation of an unused value) popped up because one of the
prints was already calling strlen.
2016-05-31 03:32:36 +00:00
..
cat Drop the case '?' which is defined after case 'default'. 2015-07-25 16:17:01 +00:00
chio
chmod In all man pages that say: 2013-12-17 09:54:08 +00:00
cp The '-i' flag should work regardless of whether the standard input is 2016-03-05 19:48:55 +00:00
csh add Will Robinson comment. 2016-03-16 22:35:44 +00:00
date Provide real error messages. 2014-09-01 21:42:21 +00:00
dd New sentence, new line. Fix typos. Bump date for previous. 2015-03-18 13:30:13 +00:00
df Correct display of df(1) with the -i parameter 2016-03-05 08:15:01 +00:00
domainname
echo
ed PR/50879: David Binderman: remove redundant code. 2016-03-02 19:11:28 +00:00
expr for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow. 2016-04-01 08:19:31 +00:00
hostname Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some 2014-02-13 12:00:29 +00:00
kill Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
ksh s/sed/${SED}/ 2016-03-17 13:59:02 +00:00
ln Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
ls PR 50997 David Binderman: fix format strings 2016-05-30 17:26:29 +00:00
mkdir Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
mt
mv add SIGINFO for mv(1), largely based upon the support in cp(1). 2016-02-28 10:59:29 +00:00
pax Don't use the length return from snprintf to write out the result 2016-05-31 03:32:36 +00:00
ps remove \n from error messages 2015-06-16 22:31:08 +00:00
pwd
rcmd
rcp allocate a separate buffer in each call to sink(). 2012-05-07 15:22:54 +00:00
rm Sort sections. 2013-04-26 19:34:34 +00:00
rmdir
sh More fallout from the fix for PR bin/48875 - this one found just by 2016-05-13 10:32:52 +00:00
sleep
stty Simplify by splitting the "simple" mode setting and the "special" ones. 2015-05-01 17:01:08 +00:00
sync
test usage nit 2016-05-27 05:50:07 +00:00
Makefile
Makefile.inc Default to WARNS=5 2012-03-21 05:47:53 +00:00