freebsd-skq/bin
Jilles Tjoelker 5e03b81fd4 sh: Avoid negative character values from $'\Uffffffff' etc.
The negative value was not expected and generated the low 8 bits as a byte,
which may be an invalid character encoding.

The final shift in creating the negative value was undefined as well.

Make the temporary variable unsigned to fix this.
2015-08-20 22:05:55 +00:00
..
cat new depends 2015-06-16 23:37:19 +00:00
chflags Add META_MODE support. 2015-06-13 19:20:56 +00:00
chio Add META_MODE support. 2015-06-13 19:20:56 +00:00
chmod Add META_MODE support. 2015-06-13 19:20:56 +00:00
cp Add META_MODE support. 2015-06-13 19:20:56 +00:00
csh Add META_MODE support. 2015-06-13 19:20:56 +00:00
date Add META_MODE support. 2015-06-13 19:20:56 +00:00
dd Mention the dd-like recoverdisk(1) to help folks find this great BSD command. 2015-07-16 23:38:12 +00:00
df Add META_MODE support. 2015-06-13 19:20:56 +00:00
domainname Add META_MODE support. 2015-06-13 19:20:56 +00:00
echo Add META_MODE support. 2015-06-13 19:20:56 +00:00
ed Add META_MODE support. 2015-06-13 19:20:56 +00:00
expr Add META_MODE support. 2015-06-13 19:20:56 +00:00
freebsd-version Add META_MODE support. 2015-06-13 19:20:56 +00:00
getfacl Add META_MODE support. 2015-06-13 19:20:56 +00:00
hostname Add META_MODE support. 2015-06-13 19:20:56 +00:00
kenv Add META_MODE support. 2015-06-13 19:20:56 +00:00
kill Add META_MODE support. 2015-06-13 19:20:56 +00:00
ln Add META_MODE support. 2015-06-13 19:20:56 +00:00
ls Cast uid and gid to the correct type for display to solve segfault in ls(1) on 32bit arches 2015-07-24 20:20:59 +00:00
mkdir Add META_MODE support. 2015-06-13 19:20:56 +00:00
mv mv: Improve message when moving two or more files to non-directory. 2015-06-28 21:36:00 +00:00
pax Add META_MODE support. 2015-06-13 19:20:56 +00:00
pkill Add META_MODE support. 2015-06-13 19:20:56 +00:00
ps mdoc: minor Xr fixes 2015-07-14 19:45:35 +00:00
pwait Add META_MODE support. 2015-06-13 19:20:56 +00:00
pwd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rcp Add META_MODE support. 2015-06-13 19:20:56 +00:00
realpath Add META_MODE support. 2015-06-13 19:20:56 +00:00
rm Add META_MODE support. 2015-06-13 19:20:56 +00:00
rmail Add META_MODE support. 2015-06-13 19:20:56 +00:00
rmdir Add META_MODE support. 2015-06-13 19:20:56 +00:00
setfacl Add META_MODE support. 2015-06-13 19:20:56 +00:00
sh sh: Avoid negative character values from $'\Uffffffff' etc. 2015-08-20 22:05:55 +00:00
sleep Add META_MODE support. 2015-06-13 19:20:56 +00:00
stty Prevent potential integer overflow 2015-07-13 05:59:41 +00:00
sync Add META_MODE support. 2015-06-13 19:20:56 +00:00
test Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
uuidgen Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00