NetBSD/bin
christos 06519c05da PR/36092: B K: algorithmic inefficiency in bin/test/test.c:t_lex
test(1) scans for "operators" linearly in an array using strcmp() to
find a match. Since the list of "operators" is fixed, split them
into one and two character ones, and ones that start with a `-' and
ones they don't. This way we can optimize the compare function to
just check for one or two characters. Sort and use bsearch(3). We
could have used a single sorted array and bsearch(3), to save some
complexity, but I decided to be a bit fancier.
2007-03-28 01:47:25 +00:00
..
cat - Applied patch from PR bin/35408 by Andreas Wiese. 2007-01-13 11:51:59 +00:00
chio
chmod
cp fix whitespace nits (space -> tab) 2006-12-26 00:13:24 +00:00
csh No functional changes. Cleanup time printing code so it can be used 2007-02-24 21:29:13 +00:00
date * Prevent out-of-bounds read tsptype if a packet with 2007-02-04 22:21:53 +00:00
dd
df Improve wording of -a description. From FreeBSD via Zafer Aydogan. 2007-01-28 09:56:13 +00:00
domainname
echo
ed s/intialized/initialized/ 2007-03-17 13:51:46 +00:00
expr
hostname
kill
ksh Applied patch by Arto Huusko from PR bin/24753 to append a slash to "." 2007-01-28 22:30:12 +00:00
ln
ls Complete the move of string_to_flags() and flags_to_string() from the 2006-12-14 20:09:35 +00:00
mkdir
mt
mv Allow files whose name starts with a dash be moved across filesystem 2007-02-15 09:57:16 +00:00
pax EROFS is not a critical error in a "mkdir -p". 2007-03-08 17:01:30 +00:00
ps Revert the changes done after newlock2 merge, except for the removal of 2007-02-17 22:49:56 +00:00
pwd
rcmd
rcp pass lint; from Anon Ymous 2006-12-15 22:45:34 +00:00
rm
rmdir
sh Document that shell arithmetic now uses intmax_t. Document that 2007-03-25 06:56:43 +00:00
sleep
stty
sync
systrace Remove unused ctype.h 2007-03-10 01:16:17 +00:00
test PR/36092: B K: algorithmic inefficiency in bin/test/test.c:t_lex 2007-03-28 01:47:25 +00:00
Makefile Remove 'l'. Those who do not learn from history are doomed to repeat it. 2007-02-08 03:57:53 +00:00
Makefile.inc