NetBSD/bin
kre c1cbf1992b Keep track of the biggest fd used by, or available to, the user/script
and use that to control which fd's are examined by a (bare) fdflags
(with no fd args).

Usually this will mean that fdflags will no longer show the shell's
internal use fds, only user fds.

This is only a partial fix however, a user can easily discover the
shell's fd usage (eg: using fstat) and can then still use fdflags to
manipulate those fds (or even send output to them).

The shell needs to monitor its own fd usage better, and keep out of
the way of user fds - coming sometime later...
2017-04-22 16:02:39 +00:00
..
cat When invoked with -se, print a '$' on blank lines 2016-06-16 00:52:37 +00:00
chio Move the description of CHANGER variable to ENVIRONMENT section 2016-08-25 18:16:10 +00:00
chmod Document the version chmod first appeared. 2016-08-11 00:10:42 +00:00
cp Document the version cp first appeared. 2016-08-11 00:17:23 +00:00
csh C Shell appeared in 2BSD, not 3BSD 2016-08-10 17:16:47 +00:00
date The range of the SS field is [0,60] 2017-01-03 16:01:05 +00:00
dd Drop main() prototype. 2016-09-05 01:00:07 +00:00
df Bump date 2016-08-10 23:48:14 +00:00
domainname Use __dead 2011-08-29 14:51:17 +00:00
echo Drop main() prototype. 2016-09-05 01:00:07 +00:00
ed PR/50879: David Binderman: remove redundant code. 2016-03-02 19:11:28 +00:00
expr Drop main() prototype. 2016-09-05 01:00:07 +00:00
hostname Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some 2014-02-13 12:00:29 +00:00
kill kill(1) is a utility, not a function. 2016-10-02 21:00:54 +00:00
ksh reorganize the code so we test if open fails at the open call. 2017-01-14 18:35:43 +00:00
ln When called as "link" (not currently installed that way) always simply 2017-04-22 12:22:31 +00:00
ls white space 2017-02-06 21:06:04 +00:00
mkdir Grammar 2016-08-10 18:42:00 +00:00
mt Adjust for mandoc output. 2012-03-19 10:48:20 +00:00
mv Forgot to bump date with previous commit 2016-08-10 18:08:14 +00:00
pax Document the version pax first appeared. 2016-08-12 01:52:22 +00:00
ps simplify logic; there must be no CPU usage when p_swtime is zero 2016-12-26 20:52:39 +00:00
pwd Document the version pwd first appeared. 2016-08-12 02:03:26 +00:00
rcmd Sort options in SYNOPSIS, sort option descriptions, remove some extra 2011-05-31 11:31:10 +00:00
rcp allocate a separate buffer in each call to sink(). 2012-05-07 15:22:54 +00:00
rm Document the version rm first appeared. 2016-08-12 02:26:42 +00:00
rmdir Document the version rmdir first appeared. 2016-08-12 02:30:37 +00:00
sh Keep track of the biggest fd used by, or available to, the user/script 2017-04-22 16:02:39 +00:00
sleep Document the version sleep first appeared. 2016-08-12 02:36:38 +00:00
stty need <time.h> for time(3) 2017-01-10 20:44:05 +00:00
sync Drop main() prototype. 2016-09-05 01:00:07 +00:00
test Drop main() prototype. 2016-09-05 01:00:07 +00:00
Makefile
Makefile.inc Default to WARNS=5 2012-03-21 05:47:53 +00:00