Commit Graph

25191 Commits

Author SHA1 Message Date
wpaul
36e2a3d8e9 Improve the innetgr() NIS+ compat kludge. We should only fail over to the
'slow' lookup if we get a YPERR_MAP (no such map in server's domain) error
instead of failing over on any error. In the latter case, if the 'fast'
search fails legitimately (i.e. the user or host really isn't a member
of the specified netgroup) then we end up doing the 'slow' search and
failing all over again. The result is still correct, but cycles are
consumed for no good reason.

Also removed the #ifdef CHARITABLE since the compat kludge is no longer
optional.
1997-10-13 17:09:15 +00:00
ache
b5347d93d3 If uptime < 1 min print in in secs otherwise we got confusing message
"up 1 user"
1997-10-13 15:17:03 +00:00
jkh
4b318a5826 Don't return from cleanup() - if it's removed the playpen then very
bad things will happen if we return to unsuspecting code.
Noted to my great dismay by:	Tim Vanderhoek <hoek@hwcn.org>
1997-10-13 15:03:55 +00:00
jkh
f71ea4919a Consolidate distribution flag checking code. 1997-10-13 12:12:14 +00:00
jkh
dc8100dcbd Allow access to options editor from media screen (sometimes you need it
there!).
1997-10-13 11:45:36 +00:00
jkh
3aa99fd0f5 Only need to call label editor for all drives. 1997-10-13 11:33:27 +00:00
charnier
1f77e4ee4c Use err(3). Add usage.
Use syslog instead of fprintf when being a daemon.
Change sprintf to snprintf obtained from OpenBSD.
Obtained from: OpenBSD
1997-10-13 11:27:55 +00:00
charnier
ff717fa4f4 Use err(3). Sync usage string and man page. 1997-10-13 11:24:01 +00:00
charnier
8459f389a1 Use err(3). Remove multiply defined Id string. 1997-10-13 11:22:39 +00:00
charnier
67de6ed0a2 Remove multiply defined Id string. Hide sccsid string. 1997-10-13 11:18:53 +00:00
charnier
8f640499e9 Use err(3). Add usage() and #includes. 1997-10-13 11:13:33 +00:00
charnier
5b323e1a48 Use err(3). 1997-10-13 11:08:47 +00:00
charnier
615b81821d Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
charnier
9a7de1d4b1 Use err(3). Add prototypes. 1997-10-13 11:05:07 +00:00
charnier
f2b21f6a68 Mdoc'ify man page. 1997-10-13 11:03:36 +00:00
charnier
5e270e4c19 Use err(3). Add prototypes. Cosmetic in usage string. 1997-10-13 11:01:33 +00:00
joerg
aa68663b55 Style police: keep a variable list in alphabetical order, and add
pointless paren's to return statements.

Nitpicked by:	bde :)
1997-10-13 09:36:05 +00:00
kato
d977718fc1 Synchronize with sys/i386/isa/wd.c revision 1.141. 1997-10-13 09:24:04 +00:00
kato
65f863eadb Synchronize with sys/i386/isa/sio.c revision 1.184. 1997-10-13 09:23:14 +00:00
kato
9b1b334b8a Synchronize with sys/i386/i386/userconfig.c revision 1.269. 1997-10-13 09:22:03 +00:00
kato
f1f94ee06d Synchronize with sys/i386/i386/machdep.c revision 1.269. 1997-10-13 09:21:16 +00:00
hoek
69af1b4afb 1) Remove comment about tip(1) not accepting comments in /etc/phones
Forgotten-By: rgrimes, early '94 (see rev 1.3, 1.4).

2) Use 555-#### examples to avoid potentially expensive accidents.

3) Escape @ in example pn capability (see related FAQ.sgml question).
1997-10-13 03:17:09 +00:00
fsmp
e1eb6ef445 Disable the TEST_CIL code till I can commit the complete solution.
Noticed by:	Peter Wemm <peter@netplex.com.au>
1997-10-13 00:01:53 +00:00
julian
5edc58c755 if we free all the links to a node, then by definition
we freed the name we used to find it..
SO DON'T free it again later!

pointy hat over here please..
1997-10-12 22:27:11 +00:00
brian
6643d67546 Un-spam ip_sum (arrgh - I don't know how this made
it into my patches :()
1997-10-12 21:43:55 +00:00
imp
7479bf72ed Make mountd use -r by default. Hopefully this will cut down the number
of complaints that FreeBSD's mountd doesn't allow mounting of swap files
for OSes like SunOS, NetBSD and OpenBSD.
Submitted by:   Joerg Wunsch
1997-10-12 20:37:20 +00:00
phk
36e7a51ea1 Last major round (Unless Bruce thinks of somthing :-) of malloc changes.
Distribute all but the most fundamental malloc types.  This time I also
remembered the trick to making things static:  Put "static" in front of
them.

A couple of finer points by:	bde
1997-10-12 20:26:33 +00:00
wosch
8ae70d2227 Delete ctm_scan program. There is no manpage for ctm_scan
and nobody use it.

Reviewed by: phk & Richard Wackerbarth
1997-10-12 19:58:53 +00:00
jkh
63cf77c18c Back out my LALT -> META change until we figure out a way to make it
work sympathetically with the function keys.
1997-10-12 19:57:49 +00:00
wosch
3ddcf87422 Support output format html.
Add make variables INFO2HTML, TEX, DVIPS, DVIPS2ASCII.
1997-10-12 18:54:34 +00:00
sos
88c80cb8cc Fix bug when using DEVFS, drives on second controller sisn't appear
in the device filesystem.

Submitted by:	Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
1997-10-12 16:22:01 +00:00
jkh
ce13ade8fa Update to reflect current affairs. 1997-10-12 16:21:36 +00:00
jkh
efc02b6453 Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
1997-10-12 16:21:21 +00:00
peter
f8166c2605 Try and fix some style problems 1997-10-12 15:24:39 +00:00
peter
5e16d91d2d Attempt to support IPX.
Suggested patch by: Vasily V. Grechishnikov <bazilio@ied-vorstu.ac.ru>
 (plus cut/paste, whitespace and typo fixes)
1997-10-12 14:14:27 +00:00
joerg
0e8a4e7303 Do not account the tape change time for ETA estimations.
PR:		bin/4369
Submitted by:	blank@fox.uni-trier.de (Sascha Blank)
1997-10-12 14:09:13 +00:00
joerg
8eaf7f4121 Make df(1) exit with non-success status if something went wrong.
PR:		bin/4415
1997-10-12 13:55:43 +00:00
joerg
238c0273fe The unit for the B option is 1 KB, not `dump records'.
PR:		docs/4223
1997-10-12 13:10:26 +00:00
peter
beb1572d35 Fix a serious bug in the recursion processor. When descending a tree,
the descend can jump several directories down in one hit, eg: when a user
mentions multiple directories on the command line, eg: "cvs diff
sys/i386/isa/snd sys/sys".  The problem is that the chdir()s are
pushed/popped to account for this, but the "full path" merely has
the last component chopped off on the way back up.  This busts lots
of things when the recursion is backing up more than one directory (such
as in the example).  This causes 'cvs diff' to emit bogus Index: lines,
'cvs update' to do really stupid things, 'cvs commit' to record incorrect
pathnames etc.  I'm not sure that what I've done is quite correct, there
seems to be a comment that implies some sort of problem with "." vs. ""
equivalence or not, perhaps this is a problem on some other OS's, but
I've not (yet) found any problems.  This bug has been present since
at least cvs-1.8.1.

This should fix problems noted by several people including asami and jmg.
1997-10-12 12:47:05 +00:00
jkh
468930a717 Now that nested menus work properly, stop using the kludged-up
DITEM_RECREATE flag.
1997-10-12 12:11:14 +00:00
jkh
90cf2421d2 Fix improperly re-entrant code which caused the menu spammage we've
been seeing since 2.2.1.
Pointed-in-the-right-direction by:	phk
1997-10-12 12:09:46 +00:00
kato
74b4da4ea8 Synchronize with sys/i386/isa/isa.c revision 1.106. 1997-10-12 12:02:20 +00:00
kato
efda9bcc78 Synchronize with sys/i386/i386/userconfig.c revision 1.94. 1997-10-12 12:01:29 +00:00
kato
968b86d94e Synchronize with sys/i386/conf/Makefile.i386 revision 1.268. 1997-10-12 12:00:23 +00:00
kato
a265c48735 Synchronize with sys/i386/conf/options.i386 revision 1.61. 1997-10-12 11:59:43 +00:00
kato
083d2a8d15 Synchronize with sys/i386/i386/machdep.c revision 1.268. 1997-10-12 11:58:09 +00:00
kato
398f69808a Synchronize with sys/i386/i386/trap.c revision 1.113. 1997-10-12 11:57:23 +00:00
kato
c5c8794e7f Synchronize with sys/i386/boot/netboot/Makefile revision 1.14. 1997-10-12 11:56:06 +00:00
max
1dec1c3d6b Typo fix. 1997-10-12 11:51:25 +00:00
helbig
ba81afcca2 Submitted by: Joachim Kuebart, thanks.
Add -u option to force unbuffered output
1997-10-12 09:52:49 +00:00