Commit graph

75193 commits

Author SHA1 Message Date
Josef Karthauser 4de1678702 Fix a panic by allocating the iface structure locally in the attach
function instead of in usb_probe_and_attach.
2002-05-23 00:36:14 +00:00
Andrew R. Reiter 2a6931421f - Turn two more storage pools into UMA zones and make the related memory
allocations and frees use the UMA api.
2002-05-23 00:34:12 +00:00
Josef Karthauser 0f19b0d03a Reflect some changes in the NetBSD code path, and sligh adjustments to ours.
(Non-functional changes).
2002-05-23 00:26:06 +00:00
Dag-Erling Smørgrav 6312146417 Hide a couple of unguarded error returns behind the no_fail test.
Sponsored by:	DARPA, NAI Labs
2002-05-23 00:04:14 +00:00
Dag-Erling Smørgrav 2569c273c7 Hide a couple of unguarded error returns behind the no_fail test. 2002-05-23 00:02:59 +00:00
Juli Mallett 816c6c91e2 Free old_pwd only in the code path where it has been allocated.
Reviewed by:	des
2002-05-22 23:18:25 +00:00
Juli Mallett 3549859680 Taking a leap of faith, tie the help command in to the build. 2002-05-22 23:15:58 +00:00
Juli Mallett 192f0a0c65 Add my PD implementation of the SCCS help command, which prints help from
files in the format used by SCCS, given a key.  It behaves exactly like the
``proper'' SCCS help command, from what testing I can do.
2002-05-22 23:14:17 +00:00
Bruce A. Mah e811cd8f81 New release notes: asa(1), pathchk(1), sccs(1),
uuencode(1)/uudecode(1) base64 synonyms, ptx removal.

Modified release notes:  ncurses 5.2-20020518.
2002-05-22 23:03:43 +00:00
Josef Karthauser a257364105 Sync with NetBSD. (Non functional changes). 2002-05-22 23:01:13 +00:00
Josef Karthauser 1acba7451d Fix a bug: Use USBD_DEFAULT_INTERVAL instead of USBD_DEFAULT_TIMEOUT
in a call to usbd_open_pipe_ival.
2002-05-22 22:58:38 +00:00
Brian Somers d4ff125fc1 Increase the maximum FSM option length to 50 2002-05-22 21:17:13 +00:00
Brian Somers b08bf2de64 Add some missing #includes that weren't required due to namespace polution
in our headers.

Submitted by: bde
2002-05-22 21:08:58 +00:00
John Baldwin 6b8c698908 Rename pause() to ia32_pause() so it doesn't conflict with the pause()
function defined in <unistd.h>.  I didn't #ifdef _KERNEL it because the
mutex implementation in libpthread will probably need this.
2002-05-22 20:32:39 +00:00
David E. O'Brien 540e5c2eaf Restore us back to the rev 1.324 level of having an Intel gigE driver. 2002-05-22 19:00:48 +00:00
Wilko Bulte 202a98a351 Update 164SX section with newly acquired insights.
Submitted by:	Sten <sten@blinkenlights.nl>
2002-05-22 18:09:37 +00:00
Gregory Neil Shapiro b9888709dd Add a warning regarding localhost-only listening daemons inside jails.
Apparently binding only to 127.0.0.1 inside of a jail actually binds
to the jail IP address as well (in effect, bind to all available
interfaces in the jail).

Submitted by:	Helge Oldach <test-smtp@oldach.net>
MFC after:	1 day
		pending RE approval
2002-05-22 16:37:32 +00:00
David E. O'Brien dcbd867c36 1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
and 1.3 (printf0) for GCC 3.1.
2002-05-22 16:37:09 +00:00
Juli Mallett a0304d8026 Tie sccs(1) in to the build, as it now does one thing right: sccs what 2002-05-22 16:19:31 +00:00
Juli Mallett fb22fc68e4 Remove mention of the GNU version of ptx, it is dead. 2002-05-22 16:18:14 +00:00
Juli Mallett 08f4375879 Add a usage().
Print usage() if right before executing the specified command, it comes to be
that *argv is NULL (i.e. a flag was specified without a command being given).
2002-05-22 16:09:52 +00:00
Juli Mallett 824ff2896d Remove #ifndef's on V6. 2002-05-22 16:01:50 +00:00
Juli Mallett 5e213af359 Put braces around the command table properly. 2002-05-22 15:59:27 +00:00
Juli Mallett 6bad09a23e Use what(1) here, in /usr/bin/what. It doesn't print error 26 correctly, but
neither does the pd sccs(1) implementation I have around, so there's no loss
for now.
2002-05-22 15:44:29 +00:00
Juli Mallett 8eccf3b248 str_concat() doesn't really take const arguments.
Submitted by:	bde
Pointy hat to:	jmallett
2002-05-22 15:34:00 +00:00
Ruslan Ermilov ea98f295f7 Do not run shell from /bin, run it from $PATH.
Bump MAKE_VERSION to 5200205221.
2002-05-22 14:53:18 +00:00
Ruslan Ermilov 8e9bddc97b Added the MAKE_VERSION global that could be useful in determining
if a given make(1) is feature-compatible with a set of makefiles.

When merged, this will be used to replace the ugly upgrade_checks
hacks in src/Makefile.

Version has the RYYYYMMDDX format, where R is from RELENG_<R> and
X allows for 10 distinguishable changes per day.

Discussed with:	bde
2002-05-22 14:35:47 +00:00
Jacques Vidrine 170a094006 Repair a bug where type AAAA answer records were not displayed.
Reference ISC BIND issue:
``1279.   [bug]           nslookup: partial coversion to similar style outputs
                          for both -type=aaaa and -type=a.''

Reported by:	ume
2002-05-22 14:27:35 +00:00
Jacques Vidrine 9aee5e4673 Do not attempt to free static memory.
Reference ISC BIND issue:
``1278.   [bug]           free() of non-malloced memory in nslookup.''

Reported by:	phkmalloc, Mike Tancsa <mike@sentex.net>
2002-05-22 14:24:44 +00:00
Juli Mallett e0f783d4f8 Format internal commands properly.
Kill a bit of trailing whitespace.

Fix a path format.

Submitted by:	mdoc(7) police (ru)
2002-05-22 14:17:16 +00:00
Juli Mallett 89d6ab227d Clean up the manual page by leaps and bounds in terms of formatting.
Ruslan's version took away the '.Nm' for some commands, but not others, so
I chose to go with leaving '.Nm'.

Submitted by:	ru
2002-05-22 13:59:52 +00:00
Juli Mallett b77ce308c0 Make the guarded string functions take a const "from" addr, and make the
function that prints when a botched guarded string operation occurs take
two const arguments.

XXX Should we use strlcat/strlcpy instead and hope for the best?
2002-05-22 13:41:08 +00:00
John Baldwin 07508f90b6 Debug registers aren't selectors, so use saner names for the variables in
the inline functions for reading and writing the debug registers.
2002-05-22 13:29:18 +00:00
John Baldwin 2be69f326a - Sort the pause() inline into the appropriate location.
- Add many missing prototypes to the non-GCC section.
2002-05-22 13:27:05 +00:00
John Baldwin 0228ea4e0b Rename cpu_pause() to pause(). Originally I was going to make this an
MI API with empty cpu_pause() functions on other arch's, but this
functionality is definitely unique to IA-32, so I decided to leave it
as i386-only and wrap it in #ifdef's.  I should have dropped the cpu_
prefix when I made that decision.

Requested by:	bde
2002-05-22 13:19:22 +00:00
Juli Mallett aecf4d561b Remove register qualifier. 2002-05-22 12:32:54 +00:00
Juli Mallett 8a4f086026 Use function prototypes. 2002-05-22 12:31:40 +00:00
Ruslan Ermilov a8b6785203 PSD:19 (curses) is long dead. 2002-05-22 11:58:34 +00:00
Ruslan Ermilov b004c713cf Unencumber. 2002-05-22 11:57:29 +00:00
Ruslan Ermilov 37d1dbf01d Build sccs(1) docs. 2002-05-22 11:55:47 +00:00
Ruslan Ermilov 3111860520 19.curses wasn't encumbered, it's just dead. 2002-05-22 11:45:23 +00:00
Juli Mallett 5fed7e7311 Clean up formatting. 2002-05-22 11:29:21 +00:00
Juli Mallett 27ffa61f2a Replace the evil that is __DECONST() with (void *). This is one of the least
evil things we can do involving the const qualifier and a pointer.

Submitted by:	bde, ru
2002-05-22 11:16:48 +00:00
Juli Mallett d7853f431e Make sccs(1) compile cleanly by fixing syntax errors such as #endif followed
by a token, and by including headers to get prototypes for many things, and
also by spelling the type of structure readdir(3) returns as "dirent".
2002-05-22 11:10:03 +00:00
Ruslan Ermilov f6ce5895a9 Unroff all forms of \f and \*, and the simplest form of \s.
Submitted by:	fenner, ru
Reviewed by:	ru, fenner
2002-05-22 11:08:41 +00:00
Ruslan Ermilov 79273cd77c Revision 1.39 made filtering of CFLAGS unnecessary. 2002-05-22 11:03:35 +00:00
Juli Mallett 61252e89e7 Revive the SCCS front-end, sccs(1), back from the Attic, since it's something
SUS wants (they want the entire suite of SCCS commands, we don't have them,
but we *had* the frontend, so we can have it again, and now).

Add $FreeBSD$ where appropriate, don't revive PSD.doc/spell.ok.
2002-05-22 10:43:50 +00:00
Ruslan Ermilov 718daeaaf1 Fixed build of recently added legacy docs.
Reviewed by:	grog
2002-05-22 10:41:12 +00:00
Ruslan Ermilov 0c2fe74da8 Added share/doc/[pu]sd entries.
Reviewed by:	grog
2002-05-22 10:38:25 +00:00
Maxim Sobolev 6950a26a50 Eliminate free'ing already freed chunks.
MFC after:	1 week
2002-05-22 10:33:25 +00:00