freebsd-skq/usr.sbin
brian 89c06caf59 It turns out that the following:
close(1);
  close(2);
  x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
  close(0)
on a tty causes select() to return an exception for descriptor x !
This is the case in RELENG_2_2, but not in 2.2.2.  I'm not sure why.
Instead of doing the x=open() and close(0), we just do x=0 now.
Problem pointed out by: Greg Lehey <grog@lemis.com>
                        Tomi Vainio <tomppa@fidata.fi>
1997-09-21 20:26:47 +00:00
..
ac Style in rcsid, sort #include. 1997-09-01 06:11:40 +00:00
accton Use err(3). 1997-09-01 06:12:37 +00:00
adduser Do not complain about non existing shell "/nonexistent" 1997-09-20 19:59:54 +00:00
amd Add usage(), use err(3), remove `progname'. 1997-09-02 06:35:27 +00:00
apm Use err(3). Typo in man page. 1997-09-02 06:36:39 +00:00
apmconf Use err(3). Silent -Wall. 1997-09-02 06:37:48 +00:00
arp Use err(3). Document -n flag from OpenBSD. 1997-09-03 06:32:31 +00:00
bad144 Use err(3). Add usage(). Remove Xref: format(8) does not exist. 1997-09-04 11:40:51 +00:00
bootparamd Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does not 1997-09-04 11:50:37 +00:00
cdcontrol spelling corrections. 1997-09-13 16:01:53 +00:00
chown Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does 1997-09-21 09:13:57 +00:00
chroot Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
ckdist Put includes in alphabetical order. various cosmetics. 1997-09-15 06:33:52 +00:00
config Wrap too long lines. 1997-09-17 06:20:45 +00:00
cron Use err(3). Rewrote man page in mdoc format. 1997-09-15 06:39:25 +00:00
crunch Use err(3). 1997-09-15 06:41:09 +00:00
ctm Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
dev_mkdb Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
diskpart Use err(3), add usage(). 1997-09-17 06:27:23 +00:00
edquota Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
fdcontrol Perror() -> warn(). 1997-09-17 06:30:22 +00:00
fdformat Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
fdwrite Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
inetd Use err(3). 1997-09-19 06:27:30 +00:00
iostat Use err(3). 1997-09-19 06:27:30 +00:00
IPXrouted Major IPXrouted rework. 1997-07-06 07:38:36 +00:00
kbdcontrol Use err(3). Typo fixes in man page. 1997-09-19 06:28:57 +00:00
kbdmap Use An macro for author name. 1997-09-19 06:29:52 +00:00
kernbb typo fix. 1997-08-14 10:36:31 +00:00
keyadmin .Nm key -> .Nm 1997-08-23 16:58:52 +00:00
keyserv Correct the section number in the cross-reference for the publickey 1997-06-17 20:24:33 +00:00
kgmon compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
kvm_mkdb Initial support for dealing with an elf /kernel. This is a loose hybrid 1997-08-30 23:35:00 +00:00
lpr environmental -> environment. 1997-09-18 06:55:21 +00:00
lptcontrol Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
manctl Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
mixer major modifications to the mixer. currently it doesn't report errors 1997-09-19 13:38:51 +00:00
mkdosfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
mount_portalfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mountd If a host in an export line in /etc/exports (or within a netgroup on 1997-09-12 16:25:24 +00:00
moused Add a simple example section. 1997-07-27 23:10:33 +00:00
mptable Changed the Ints labels for the IO APIC from "INT#" to "PIN#" to better 1997-09-06 04:11:53 +00:00
mrouted NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!". 1997-06-29 06:03:42 +00:00
mtest Add the one line description of the man page at the top so 1996-12-15 23:02:48 +00:00
mtree Import Lite2's src/usr.sbin, except for timed. All changed files 1997-08-02 19:36:03 +00:00
named Don't override BINOWN and BINGRP by setting them to "bin". Use the 1997-05-17 11:53:03 +00:00
named.reload Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
named.restart Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
natd Typo. 1997-09-18 06:54:03 +00:00
ncrcontrol Make compile with rev. 1.101 of ncr.c, which added support for 1997-07-28 21:33:45 +00:00
ndc Check named_enable rather than just named_flags. 1997-06-18 01:55:19 +00:00
newsyslog Show the real revision date and not the date that this 1997-06-23 04:03:49 +00:00
nfsd compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
nologin An odd merge from 2.2 to -current. Somehow that 2.2 nologin.5 1997-03-03 06:47:27 +00:00
nslookup Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
pccard The pccard daemon doesn't support the 'class' parameter as stated in the 1997-02-26 15:55:10 +00:00
pciconf Unbreak this file some more: 1997-07-14 19:57:50 +00:00
pcvt NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!". 1997-06-29 06:03:42 +00:00
periodic Change local_cron to local_periodic. 1997-08-19 16:49:35 +00:00
pkg_install Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
pnpinfo bmake'd pnpinfo 1997-09-19 15:41:57 +00:00
portmap compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
ppp It turns out that the following: 1997-09-21 20:26:47 +00:00
pppctl Allow hosts specified by IP number (avoiding 1997-07-28 22:17:48 +00:00
pppd Oops, that'll teach me to edit the makefile after testing... Remove 1997-08-22 15:57:37 +00:00
pppstats Duh, calculate the compression ration correctly. (fixed point artithmatic 1997-09-10 08:43:17 +00:00
pstat Update to include some of the newer vnode flags and remove some stale ones. 1997-08-30 20:18:49 +00:00
pw Unquote default group in pw.conf. 1997-09-01 09:33:08 +00:00
pwd_mkdb db close routine actually writes data out to disk; return value was 1997-08-18 20:48:35 +00:00
qcamcontrol compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
quot environmental -> environment. 1997-09-18 06:55:21 +00:00
quotaon compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
rarpd compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
repquota Import Lite2's src/usr.sbin, except for timed. All changed files 1997-08-02 19:36:03 +00:00
rmt This commit was generated by cvs2svn to compensate for changes in r27850, 1997-08-02 19:36:03 +00:00
rndcontrol compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
rpc.lockd Typo fix: ${.DESTDIR} -> ${DESTDIR}. 1997-05-23 08:43:27 +00:00
rpc.statd Typo fix: ${.DESTDIR} -> ${DESTDIR}. 1997-05-23 08:43:27 +00:00
rpc.yppasswdd Modify rpc.yppasswdd to use the new AF_LOCAL transport in the RPC library 1997-07-29 15:43:21 +00:00
rpc.ypupdated Clobber unneeded prototypes; in particular, the redeclaration of malloc() 1997-06-06 15:47:57 +00:00
rpc.ypxfrd Back out unnecessary overly-paranoid paranoia test from here too; yp_access() 1997-04-28 14:22:31 +00:00
rtprio Oops, had a couple of extra parens in a couple of lines. 1997-03-07 07:45:17 +00:00
rwhod Sort cross references. 1997-01-20 00:03:00 +00:00
sa Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
sade More label editor enhancements. 1997-09-20 06:24:17 +00:00
sendmail Set ForwardPath as presently inuse on hub 1997-08-22 16:50:49 +00:00
sgsc spelling corrections. 1997-09-13 16:01:53 +00:00
sicontrol Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
sliplogin Insist that the user has group network. 1997-09-05 23:11:28 +00:00
slstat Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
spkrtest Fix a minor nit in the .Dd macro invocation so that 1997-06-23 04:52:13 +00:00
spray Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
stallion Submitted by: Greg Ungerer <gerg@stallion.oz.au> 1997-03-13 04:21:44 +00:00
sysctl Added hw.machine_arch. 1997-08-30 02:28:00 +00:00
sysinstall More label editor enhancements. 1997-09-20 06:24:17 +00:00
syslogd Use snprintf() instead of sprintf() most of the time. 1997-09-19 22:22:04 +00:00
tcpdump Update Makefile to build tcpdump-3.3 . 1997-05-27 02:21:28 +00:00
timed Convert nets specified with -i/-n to network byte order. 1997-08-21 19:53:04 +00:00
traceroute Import Lite2's src/usr.sbin, except for timed. All changed files 1997-08-02 19:36:03 +00:00
trpt Zap antique #ifndef NEWVM code. This should be redone to use libkvm 1997-08-03 09:53:04 +00:00
tzsetup Fix a minor nit in the .Dd macro invocation so that 1997-06-23 04:52:13 +00:00
vidcontrol Add ref to moused(8). 1997-07-24 23:46:35 +00:00
vipw Cosmetic: distinguish in diag message between rebuilding and updating 1997-08-24 18:23:21 +00:00
vnconfig compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
watch compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
wlconfig Now that this has been merged over to RELENG_2_2 remove 1997-09-15 05:08:05 +00:00
wormcontrol Fix a minor nit in the .Dd macro invocation so that 1997-06-23 04:52:13 +00:00
xntpd Typo. 1997-09-19 16:04:19 +00:00
xten Submitted by: Gene Stark, Steve Passe, and Robert Sexton (robert@kudra.com) 1997-06-24 03:21:47 +00:00
yp_mkdb fix a couple typos... 1997-04-15 07:06:15 +00:00
ypbind This commit adds support to ypbind(8) for binding to non-local servers. 1997-05-25 19:49:33 +00:00
yppoll Add ypwhich(1) and yppoll(8) manual pages. 1997-09-21 11:49:18 +00:00
yppush compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
ypserv Don't initialize structures from other variables; gcc -ansi -pedantic 1997-08-10 20:37:48 +00:00
ypset Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
zic compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
Makefile Add missing \ from previous rev to end of a line. 1997-09-20 04:58:08 +00:00
Makefile.inc