Commit Graph

17431 Commits

Author SHA1 Message Date
Bruce Evans
f7f70b3d0f Fixed a null pointer panic in ADDENTRY(). Unloading the lkm and joy
modules sort of works now.  Their devswitch entries aren't cleaned
up, so accessing them after they have been unloaded causes a panic
in spec_open().

Submitted by:	durian@plutotech.com (Mike Durian), IIRC
1996-12-06 12:47:05 +00:00
Jordan K. Hubbard
0682634e99 Add Peter da Silva to authors list now that he's taking over the FAQ. 1996-12-06 11:37:34 +00:00
Peter Wemm
e8fce182a6 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +00:00
Masafumi Max NAKANE
317c66637f Merge the changes made to the en version (1.39 -> 1.41). 1996-12-06 10:10:40 +00:00
Jordan K. Hubbard
5e714635d6 Drop the e_spare[] array to 3 elements so that padding of the eproc
structure remains the same despite bumping MAXLOGNAME.
1996-12-06 08:01:17 +00:00
Nate Williams
7ffe15380f Added psm manpage.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1996-12-06 01:58:14 +00:00
Jordan K. Hubbard
380577b434 I asked Bill Paul why _getnetbynis() was only being called with 2 parameters,
and he said:

	The 3rd agrument is new; looks like it was part of the upgrade to
	a new BIND with some IPv6 support. The third argument here should be
	AF_INET. In order for it to be anything else, I'd have to add new
	NIS functions to support IPv6 lookups. I don't even know what those
	look like yet.

So there ya go, add AF_INET as the 3rd argument to the call.

Submitted-by: wpaul
1996-12-06 00:12:31 +00:00
Julian Elischer
ed5b7817a4 Add comments to hard-to-follow File descriptor handling code 1996-12-05 22:41:13 +00:00
Andrey A. Chernov
35a7db3500 Swap %X and %Y in %c 1996-12-05 20:33:07 +00:00
Andrey A. Chernov
7618cd1238 Fix my error from previous commit with mixing rwhod protocol
and utmp sizes.
Replace hardcoded constants by sizeofs or symbolic constants
1996-12-05 20:19:33 +00:00
Jordan K. Hubbard
2696fe9c84 Remove more instances of passing arrays by address when they should
have simply been passed as arrays.  In some cases, casts had even
been added to remove the warnings generated by such misuse!  Aieee!
1996-12-05 18:46:19 +00:00
Jordan K. Hubbard
afb5b8ed4d Eliminate 3 more examples of gratutiously passing arrays by address.
Everyone please call ParaSoft today and say "I will buy 57 copies of
Insure++ tomorrow, but first I want a FreeBSD version." :-)
1996-12-05 18:41:35 +00:00
Jordan K. Hubbard
ecc9c8e3cd sethostname() returns int, not long. I could get used to having this
copy of insure++, too bad the runtime only works for BSD/OS. :-(

Maybe they'll be so impressed by my initial 15 entry bug report for it
that they'll take the FreeBSD version more seriously. :-) :-)
1996-12-05 18:27:20 +00:00
Jordan K. Hubbard
4186474051 _key is a char array and we don't need to pass its address to _buildkey()
when buildkey is expecting a char *.
1996-12-05 18:22:00 +00:00
Jordan K. Hubbard
8af0a47fba gethostname() returns int, not long. Answered my own question by
RTFM'ing.  Either both the header files and the man pages are wrong
or this code is, and I'll take the majority decision. :-)
1996-12-05 18:14:56 +00:00
Jordan K. Hubbard
15ba0c4e86 make u_char * -> char * conversion explicit.
Found-By:  insight's "insure++" tool.
1996-12-05 18:05:11 +00:00
Andrey A. Chernov
eb7456fc97 Remove one space to produce the same output alignment
like in who, rwho, w, etc.
1996-12-05 17:56:05 +00:00
Andrey A. Chernov
5b3675170f Adjust line to not overflow 80 cols (result of recent utmp changes) 1996-12-05 17:33:46 +00:00
Andrey A. Chernov
0f456e3c6e Use UT_* contstants when possible instead of harcoded 8
2.2 candidate
1996-12-05 17:12:51 +00:00
Andrey A. Chernov
d916216786 Increase username field to reflect utmp changes 1996-12-05 17:00:16 +00:00
Andrey A. Chernov
00b18da210 Fix compiler warning: /* inside comment
2.2 candidate
1996-12-05 14:46:57 +00:00
Masafumi Max NAKANE
999a6c4cad Merge the changes made to the en version (1.47 -> 1.51). 1996-12-05 13:43:30 +00:00
Bruce Evans
2c5136653b Fixed handling of modem status changes. Only the most common case of
connect/hangup in !CLOCAL mode was handled correctly.  mgetty and ppp
didn't work because they turn on CLOCAL and poll for carrier (or RI?).
1996-12-05 12:43:30 +00:00
Masafumi Max NAKANE
be359f01b2 Merge the changes made to the en version (1.20 -> 1.21). 1996-12-05 11:57:23 +00:00
Satoshi Asami
1bdf8cc33a Add ports-vietnamese, delete ports-distfiles. 1996-12-05 11:27:53 +00:00
Satoshi Asami
bed5c06280 Update to match reality. New __FreeBSD_version values for post 2.1.5R
releases, example for MASTER_SITE_XCONTRIB and such.
1996-12-05 11:21:47 +00:00
Satoshi Asami
d681a10ee8 Add ports-vietnamese. While I'm here, comment out ports-distfiles,
which has been discontinued indefinitely.
1996-12-05 11:17:11 +00:00
Satoshi Asami
9ef182d781 Directories for Japanese manpages. Definite 2.2 candidate, as it will be
used for the "Japanese manpages port" coming soon.
1996-12-05 10:33:56 +00:00
John Dyson
3596818baa Clean-up of the new buffer kva allocation code. Also, there was an
error in the !BOUNCE_BUFFERS case.
1996-12-05 04:28:52 +00:00
Masafumi Max NAKANE
15dd4190ed Merge the changes made to the en version (1.161 -> 1.162). 1996-12-05 03:31:00 +00:00
Jordan K. Hubbard
f357ea3fbd *Ahem*. Plexstor, not plasmon.
Spotted-By:  Someone from Japan who's name I now forget (sorry!).
1996-12-05 03:30:59 +00:00
Nate Williams
5881846048 Better fix for the previous overflow problem using the code from
ogetrlimit().

Suggested by:	bde
1996-12-05 03:14:14 +00:00
Nate Williams
a29ab516d1 Added Miguel Angel Sagreras <msagre@cactus.fi.uba.ar> for his ibcs2 patches. 1996-12-05 01:47:33 +00:00
Nate Williams
abcdd6ed84 'ulimit' can overflow the int return value, so avoid the overflow by
subtracting one if ulimit returns -1.

Submitted by:	Miguel Angel Sagreras <msagre@cactus.fi.uba.ar>
1996-12-05 01:45:08 +00:00
Bruce Evans
e73bdb51f7 Fixed an off by 1 error in unix2dostime(). The first day of each month
was converted to the last day of the previous month.  This bug was
introduced in the optimizations in rev.1.4.
1996-12-04 13:42:09 +00:00
Jordan K. Hubbard
96b2533ed1 Bump maximum username length to 16 characters. This brings us into
line with BSD/OS and Linux's username limits, making transitioning from
either operating system a lot easier than it is now.  I'm currently
running with this change on my system, as are several others, and have
experienced no ill effects.

This is not for 2.2!  This needs to get shaken out longer term in 3.0.

Previously-approved-by:  davidg
1996-12-04 11:31:14 +00:00
Andrey A. Chernov
b96aebd585 Fix syntax error loc->doc 1996-12-04 09:42:39 +00:00
Masafumi Max NAKANE
b3f415c21c Merge changes made to the en version (1.160 -> 1.161). 1996-12-04 09:04:42 +00:00
David E. O'Brien
f5001497c2 First cut at adding a little bit about the ports framework's dir structure. 1996-12-04 08:49:52 +00:00
David E. O'Brien
db3085157f Added Pedro Giffuni to the contributor's section for his two ports:
CIM      Simula Compiler using C
	Isearch  A text search Engine from CNIDR  (to be commited later)
1996-12-04 08:07:44 +00:00
Satoshi Asami
c69930e5e3 Optimize by changing "sort | uniq" -> "sort -u". "make index" is now
412 secs instead of 498 secs on my machine!

Submitted by:	fenner
1996-12-04 05:53:17 +00:00
Satoshi Asami
7a8e4111ee Syncronize.
Submitted by: The FreeBSD(98) Development Team
1996-12-04 04:36:59 +00:00
Satoshi Asami
778128e3f9 Replace sbic driver (WD33C93 SCSI card driver) with new bs driver.
Submitted by: The FreeBSD(98) Development Team
Obtained from: NetBSD/pc98 based on NetBSD 1.2
1996-12-04 04:32:52 +00:00
Satoshi Asami
f48465862b Synchronize with the RELENG_2_2 branch.
Definite 2.2 candidate.

Submitted by: The FreeBSD(98) Development Team
1996-12-04 04:21:30 +00:00
Mike Pritchard
8eff60c442 Remove a self referential xref, and add an xref for modload.
Closes PR# 2104.
1996-12-04 00:00:20 +00:00
Mike Pritchard
0953bd9f6b Use the predefined entities for a couple of mailing lists. 1996-12-03 23:40:11 +00:00
Mike Pritchard
e277738293 Remove some garbage text from the man page.
Closes PR# 1971.

Submitted by:	Lydon Nerenberg
1996-12-03 23:26:49 +00:00
Mike Pritchard
96bafa0758 The semget man page uses the incorect symbol for alter
access.  Closes PR# 1712.

Submitted by:	Kent Vander Velden
1996-12-03 23:03:22 +00:00
Masafumi Max NAKANE
d4887def14 Merge the changes in the en version (1.159 -> 1.160). 1996-12-03 22:50:06 +00:00
Nate Williams
e744d38673 Added support for '-T' and '-B' (text and binary) file recognition by
peeking inside of Chris Torek's stdio library internals.  This is
similar to the code used for other systems, but didn't work on CT's new
implementation.

Submitted by:	Gary Kline <kline@tera.com>
1996-12-03 21:56:15 +00:00