Commit Graph

3414 Commits

Author SHA1 Message Date
Guido van Rooij
cf5643238e Apparently, if fprintf() fails, it can return any negative value
Pointed out by: Bruce
1998-02-16 19:08:18 +00:00
Jordan K. Hubbard
79af7eafa8 Eliminate the idea of nested "playpens" entirely - it just obfuscated
the code and, in at least one case, made it more dangerous to no gain.
1998-02-16 17:16:51 +00:00
Guido van Rooij
1aa9837c94 Check return values of fprintf, fclose (this one is overdone I guess)
and pw_db->close.
PR:		4202 (probably, I askd the submitter)
Obtained from:	OpenBSD
1998-02-15 22:31:40 +00:00
Steve Price
1b95182f20 Clarify the -batch arguments.
PR:		5677
Submitted by:	Adrian Filipi-Martin <adrian@virginia.edu>
1998-02-14 22:55:23 +00:00
Steve Price
137db389ed Overhaul this manpage - removing typos, awkward phrasing, and addressing
a few technical faults.

PR:		5692
Submitted by:	dannyman@arh0300.urh.uiuc.edu
1998-02-14 18:33:37 +00:00
Jordan K. Hubbard
80e35f1859 MF22: correct bogus failure return. 1998-02-13 08:01:01 +00:00
Bill Paul
f44298df59 Close PR #2206: fix the services.byname target so that it can handle
/etc/services entries with any protocol instead of just udp and tcp.
Rather thani having the awk script explicitly search for 'udp' or 'tcp'
in the second field using index(), use split() to break up the field
at the '/' character if it exists, which extracts the protocol from
the field no matter what it is.

PR: 2206
1998-02-13 03:38:41 +00:00
Kazutaka YOKOTA
aa1f0f51b6 Add an entry for the Brazilian keymap with accent key definitions
in the keymap menu.
1998-02-12 17:53:19 +00:00
Wolfram Schneider
27f8f85b7e pwd_mkdb option '-c' was renamed to -C some weeks ago.
PR: bin/5715
Submitted by:  dannyman <dannyman@arh0300.urh.uiuc.edu>
1998-02-11 23:31:24 +00:00
Bill Paul
0d15a95009 Fix a bug in the database handle caching. This has to do with the way the
underlying database code works. When dealing with first/next queries, you
have the notion of a database 'cursor,' which is essentially a file pointer
for the database. To select the first entry, you do a fetch with the
R_FIRST flag set, then you can use the R_NEXT flag to enumerate the other
entries in the database. Unfortunately, doing a direct fetch with no flag
does _not_ set the 'cursor,' so you can't do a direct fetch and then
enumerate the table from there.

The bug is that cached handles generated as the result of a YPPROC_MATCH
were being treated as though they were the same as handles generated by
a YPPROC_FIRST, which is not the case. The manifestation is that if you
do a 'ypmatch first-key-in-map map' followed by a yp_first()/yp_next()
pair, the yp_first() and yp_next() both return the first key in the
table, which makes the entry appear to be duplicated.

A couple smaller things since I'm here:

- yp_main.c and yp_error.c both have a global 'int debug' in them.
  For some reason, our cc/ld doesn't flag this as a multiply defined
  symbol even though it should. Removed the declaration from yp_main.c;
  we want the one in yp_error.c.

- The Makefile wasn't installing ypinit in the right place.
1998-02-11 19:15:32 +00:00
Brian Somers
dcf9e6a5b2 Move handle_signals() to before the FD_SETs. handle_signals()
may result in a our modem closing after it's made its way into
the fd_set, resulting in a program exit (with select(): bad file
descriptor) rather than a dropped link.
1998-02-10 22:33:43 +00:00
Jordan K. Hubbard
d5cbea7e97 Form device names correctly with new unit# syntax. 1998-02-10 18:43:11 +00:00
Jordan K. Hubbard
59617ad4b8 Totally change the way that devices are made in the MFS and subsequently
probed in sysinstall.  Rather than make template devices and use up lots
of inodes, also restricting the number of devices that can be dealt with,
mknod all necessary devices as necessary using built-in information.
This removes a number of constraints on the number and type of devices
that sysinstall can see.
1998-02-10 18:31:27 +00:00
Eivind Eklund
b5883d1eb4 All our options are new-style now - enable the warning if unrecognized
(that is, old-style) options are found.
1998-02-09 23:59:51 +00:00
Jordan K. Hubbard
4a7de9552b Remove some ancient cruft discovered during a recent code review. 1998-02-08 20:18:19 +00:00
Jordan K. Hubbard
fc60b54d95 MF22: reset root flags properly. 1998-02-06 04:35:21 +00:00
Guido van Rooij
3d08e8c2cc This seems to fix my problem that after resume/suspend, sometimes
pccard claims that the driver is already allocated.
It works around a race when pccardd gets woken up too late after a resume.

This is a 2.2.6 candidate.
Reviewed by:	nate@freebsd.org
1998-02-04 20:19:39 +00:00
Bill Paul
1754677b27 Fix Makefile.yp so that it no longer creates a temporary file called
/tmp/ypmake, thereby fixing problems with successive map updates
possibly reading stale copies of this file left behind by a previous
failed run.

PR:	 5571
1998-02-04 16:16:58 +00:00
Garrett Wollman
19dd7f4d5a Install printcap.5 from here. 1998-02-04 15:59:10 +00:00
Andrey A. Chernov
381ee3485b Add comment describing settings
Use 66 lines on the page
1998-02-04 13:03:57 +00:00
Andrey A. Chernov
6094ceca72 Add Russian printer filters, mandatory because hardware code page 866
is different with KOI8-R
1998-02-04 12:00:46 +00:00
Philippe Charnier
966fcf2944 Convert to mdoc. 1998-02-04 07:30:11 +00:00
Andrey A. Chernov
4b6860cf1c Add Genius PnP Mouse (simple one) 1998-02-04 06:46:33 +00:00
Brian Somers
b3796ed639 Merge from MP branch:
Correct magic number format string
1998-02-04 01:06:23 +00:00
Wolfram Schneider
7bf7308c7b Typo. 1998-02-02 15:46:44 +00:00
Steve Price
3de1350407 setpwent now has a void return type, so remove the now bogus cast. 1998-02-01 17:11:07 +00:00
Steve Price
e2e5ad34fb Typo: PAT -> FAT.
PR:		5593
1998-02-01 05:58:42 +00:00
Brian Somers
48cf2a7958 Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCH
is defined.
1998-01-29 00:44:15 +00:00
Brian Somers
4b633e0106 Talk a bit about ongoing development. 1998-01-29 00:42:52 +00:00
Brian Somers
f7d1db72cf Make it clear that aliasing is done on the public interface, not
the private one.
1998-01-29 00:40:41 +00:00
Jordan K. Hubbard
0fc319ac44 MF22: only fclose() OpenConn if non-NULL. 1998-01-28 04:42:38 +00:00
Brian Somers
baef0a6974 Cosmetic:
Don't mention the authors name at startup.  He's already credited
  in the man page.  Instead, make the message consistent with the
  one given to the diagnostic port (and fix the grammar when entering
  `term' mode).
  Don't credit the zlib author in the man page as ppp isn't linked
  directly with zlib (it's shared).
  Mention when the OpenBSD port was first made available.
1998-01-27 23:14:53 +00:00
Kazutaka YOKOTA
3bbee664ba Update the keymap menu. 1998-01-27 14:01:19 +00:00
Julian Elischer
ff85d547a5 A bit of the dpt userland utilities that got left out. 1998-01-26 06:26:41 +00:00
Julian Elischer
c5bc0dccc4 Obtained from: Simon Shapiro
Userland utilities to control, and monitor a DPT RAID system.
1998-01-26 06:20:48 +00:00
Jean-Marc Zucconi
0d6515cde0 The status command prints the audio position, the media catalog and the
volume value for the disc. It is now possible to specify additional arguments
(audio, volume, media) to print only a subset of the full status.
This is particularly useful with drives which stop playing when asked to
return the catalog number.
1998-01-26 00:57:54 +00:00
Steve Price
0f87b00d6b Allow comments to begin with multiple '#' characters.
PR:		4452
Submitted by:	Joao Carlos Mendes Luis <Jonny@mailhost.coppe.ufrj.br>
1998-01-25 17:51:10 +00:00
Steve Price
2ccbe549bc Fix a couple of typos.
PR:		5561
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1998-01-25 16:22:22 +00:00
Kazutaka YOKOTA
65b8196101 Fix typo.
PR: docs/5562
1998-01-25 15:49:00 +00:00
Brian Somers
4147817ab9 Fix error message.
Don't complicate the test compilation mentioned at the start of
the file.
1998-01-24 00:03:14 +00:00
Brian Somers
2e8ab8d16a Stop bogus warnings. 1998-01-23 22:29:16 +00:00
Brian Somers
813bfe4d88 Re-implement the proxy arp sockaddr_dl search routine (again).
It now works :-) and searches all interface aliases.
1998-01-23 21:37:27 +00:00
Jordan K. Hubbard
feb308afd5 In !dists case, invoke the custom dist menu rather than the toplevel
dist menu.  This makes a good deal more sense and should have been
this way all along.
1998-01-23 07:53:44 +00:00
Brian Somers
0c2bc41c96 Don't allow manual dialing unless in auto or interactive mode. 1998-01-23 04:36:42 +00:00
Jordan K. Hubbard
c922e45175 MF22: match entries for wfd 1998-01-22 21:14:31 +00:00
Søren Schmidt
f5dee08294 Use /bin/pwd instead of a potentially shell builtin that does
not return the "real" path.
This makes it possible to have the .o files put in the /usr/obj
hierachy instead of in the /usr/src one.
1998-01-22 19:34:31 +00:00
Philippe Charnier
2cc11a3c27 Add rcsid. Add usage() with up to date flag list. Use err(3). 1998-01-22 07:28:26 +00:00
Philippe Charnier
a7a63eccb9 Convert to mdoc format. Document missing flags. 1998-01-22 07:26:08 +00:00
Jordan K. Hubbard
9d8d61fb4d Add entry for SMC 9432TX cards (tx driver). 1998-01-21 19:25:49 +00:00
Brian Somers
4d834db441 Use the sockaddr_dl with the link#, not the ethernet address
when creating proxy arp entries.
1998-01-21 12:52:14 +00:00