freebsd-dev/bin
Jilles Tjoelker cac001aabe sh: Don't check input for non-whitespace if history is disabled.
preadbuffer() maintained a flag whether there was any non-whitespace
character. This flag is only useful when history is enabled (in that case,
lines containing only whitespace are not added to history). Instead, check
using strspn() when history is enabled.

There is an approximate 2% speedup when running
  sh -c '. /etc/rc.subr; . /etc/defaults/rc.conf; source_rc_confs'
with hot cache.
2013-12-27 15:52:18 +00:00
..
cat - Add the __dead2 attribute since it is a function that never returns 2013-04-23 13:03:11 +00:00
chflags Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
chio Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
chmod Update sticky(7) cross references. 2011-05-13 16:29:57 +00:00
cp Add a few examples. 2013-03-15 20:12:54 +00:00
csh Update to tcsh 6.18.01. 2012-02-22 03:36:15 +00:00
date Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
dd Sweep man pages replacing ad -> ada. 2013-10-01 18:41:53 +00:00
df Clean up a spurious "." in SEE ALSO. 2013-10-28 23:02:12 +00:00
domainname Point users towards nisdomainname and rc.conf. 2013-04-22 17:55:12 +00:00
echo echo(1): Clarify portability and mention literal "--" handling. 2010-11-12 22:43:40 +00:00
ed Fix a -Wunsequenced warning. 2013-06-29 15:49:26 +00:00
expr Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
freebsd-version Remove extraneous \n. 2013-10-11 20:10:18 +00:00
getfacl Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
hostname Mark usage() __dead2 2013-04-28 22:52:43 +00:00
kenv Constify parameters, no functional or binary change. 2013-05-15 18:38:28 +00:00
kill Remove cast that was only required for K&R C. 2013-04-28 22:05:01 +00:00
ln Add 'static' where able. 2013-06-02 17:55:00 +00:00
ls Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
mkdir Add missing static qualifiers 2013-04-27 21:59:43 +00:00
mv Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
pax Document the lack of chflags support in pax(1) 2013-12-21 19:29:08 +00:00
pkill pkill - Optimize pgrep -F 2013-11-10 05:22:29 +00:00
ps Don't test arrays for being NULL. 2013-10-21 09:12:04 +00:00
pwait Use a different way to silence clang analyzer as done in r245494 by 2013-01-16 18:15:25 +00:00
pwd Sync program's usage() with manpage's SYNOPSIS. 2005-02-09 17:37:39 +00:00
rcp Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
realpath Make `realpath'' behave like `realpath .''. 2011-06-21 19:34:57 +00:00
rm Add two more 'static' qualifiers 2013-04-26 17:56:35 +00:00
rmail Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
rmdir Add a few examples. 2013-03-15 20:12:54 +00:00
setfacl Mention that read_attributes, write_attributes, read_acl and write_acl 2013-04-01 13:17:28 +00:00
sh sh: Don't check input for non-whitespace if history is disabled. 2013-12-27 15:52:18 +00:00
sleep sleep: Explain in a comment why the [EINTR] check is there. 2013-06-05 20:15:18 +00:00
stty stty: Mark usage() __dead2. 2012-07-15 21:12:22 +00:00
sync /*- or .\"- or #- to begin license clauses. 2005-01-10 08:39:26 +00:00
test Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
tests Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
uuidgen Mention the upper hard limit for -n option. Patch slightly modified 2012-05-23 16:19:19 +00:00
Makefile Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
Makefile.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00