Commit Graph

17695 Commits

Author SHA1 Message Date
bde
ae8570b44a 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
jkh
1d12f608ff Add Peter da Silva to authors list now that he's taking over the FAQ. 1996-12-06 11:37:34 +00:00
peter
cb5ab704f2 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +00:00
max
9c6dec85a6 Merge the changes made to the en version (1.39 -> 1.41). 1996-12-06 10:10:40 +00:00
jkh
f2471ca4b1 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
06939e7b6a Added psm manpage.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1996-12-06 01:58:14 +00:00
jkh
eeb126378e 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
421ae6a998 Add comments to hard-to-follow File descriptor handling code 1996-12-05 22:41:13 +00:00
ache
522a03fa92 Swap %X and %Y in %c 1996-12-05 20:33:07 +00:00
ache
17cc02ba93 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
jkh
e1ff7f23f8 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
jkh
387fe043cb 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
jkh
04f6ba42ab 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
jkh
d9e46a2d1a _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
jkh
9f43ee6680 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
jkh
bd235b6b0f make u_char * -> char * conversion explicit.
Found-By:  insight's "insure++" tool.
1996-12-05 18:05:11 +00:00
ache
f204d1bbee Remove one space to produce the same output alignment
like in who, rwho, w, etc.
1996-12-05 17:56:05 +00:00
ache
adcb17c3ed Adjust line to not overflow 80 cols (result of recent utmp changes) 1996-12-05 17:33:46 +00:00
ache
48670a95db Use UT_* contstants when possible instead of harcoded 8
2.2 candidate
1996-12-05 17:12:51 +00:00
ache
25af7e1053 Increase username field to reflect utmp changes 1996-12-05 17:00:16 +00:00
ache
7b950ca770 Fix compiler warning: /* inside comment
2.2 candidate
1996-12-05 14:46:57 +00:00
max
10a6974722 Merge the changes made to the en version (1.47 -> 1.51). 1996-12-05 13:43:30 +00:00
bde
add8ea94e3 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
max
d0101e0053 Merge the changes made to the en version (1.20 -> 1.21). 1996-12-05 11:57:23 +00:00
asami
9babd021fe Add ports-vietnamese, delete ports-distfiles. 1996-12-05 11:27:53 +00:00
asami
da4f71da7f 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
asami
1e081970f9 Add ports-vietnamese. While I'm here, comment out ports-distfiles,
which has been discontinued indefinitely.
1996-12-05 11:17:11 +00:00
asami
5473ccc95f 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
dyson
e198c2084e 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
max
2cb78c6970 Merge the changes made to the en version (1.161 -> 1.162). 1996-12-05 03:31:00 +00:00
jkh
194ce9ccb7 *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
9439e355f3 Better fix for the previous overflow problem using the code from
ogetrlimit().

Suggested by:	bde
1996-12-05 03:14:14 +00:00
nate
bde5edc0f3 Added Miguel Angel Sagreras <msagre@cactus.fi.uba.ar> for his ibcs2 patches. 1996-12-05 01:47:33 +00:00
nate
56a0429885 '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
bde
7d71d37962 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
jkh
9b86a34b6b 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
ache
934ae8e8fd Fix syntax error loc->doc 1996-12-04 09:42:39 +00:00
max
a818efff0b Merge changes made to the en version (1.160 -> 1.161). 1996-12-04 09:04:42 +00:00
obrien
7e241436d1 First cut at adding a little bit about the ports framework's dir structure. 1996-12-04 08:49:52 +00:00
obrien
dd2403dc41 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
asami
3d7abac871 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
asami
2ae72b8ddd Syncronize.
Submitted by: The FreeBSD(98) Development Team
1996-12-04 04:36:59 +00:00
asami
5fdc748d8c 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
asami
4d75d96d6e 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
mpp
9f9a264468 Remove a self referential xref, and add an xref for modload.
Closes PR# 2104.
1996-12-04 00:00:20 +00:00
mpp
d04dbccb8d Use the predefined entities for a couple of mailing lists. 1996-12-03 23:40:11 +00:00
mpp
c677083d43 Remove some garbage text from the man page.
Closes PR# 1971.

Submitted by:	Lydon Nerenberg
1996-12-03 23:26:49 +00:00
mpp
e4e60e9882 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
max
f730e10094 Merge the changes in the en version (1.159 -> 1.160). 1996-12-03 22:50:06 +00:00
nate
2596f6cfca 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