]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMake the manpage consistent with the code on the subject of comments, as to
Juli Mallett [Mon, 3 Jun 2002 20:35:35 +0000 (20:35 +0000)]
Make the manpage consistent with the code on the subject of comments, as to
not change the code to always do the "GNU" thing, as it's possible people
rely on BSD m4(1) traditionally resetting comment characters in case of no
arguments to the changecom function.

PR: bin/17480 (I think this satisfies the problem report)

22 years agoFix handling of the 'noError' variable. According to the code comments,
John Baldwin [Mon, 3 Jun 2002 19:42:49 +0000 (19:42 +0000)]
Fix handling of the 'noError' variable.  According to the code comments,
one can set the 'noError' variable to ignore any errors that occur for the
next command.  However, the code was only unsetting 'noError' when an error
actually occurred, so if you set 'noError', the next command completed ok,
and the command after that failed, the second command's failure would be
ignored.  This fixes this by performing the 'noError' check earlier and
then unsetting 'noError' after every command that is run.

Sponsored by: The Weather Channel

22 years agoAdd a 'mediaClose' script command to close the open media. An example use
John Baldwin [Mon, 3 Jun 2002 19:39:28 +0000 (19:39 +0000)]
Add a 'mediaClose' script command to close the open media.  An example use
would be to unmount the CD you installed from and prompt the user to
eject it before rebooting the machine.

Sponsored by: The Weather Channel

22 years agoCorrect bswap64() prototype.
Maxim Sobolev [Mon, 3 Jun 2002 19:04:10 +0000 (19:04 +0000)]
Correct bswap64() prototype.

Submitted by: glewis
MFC after: 1 day
(assuming that there is re's approval)

22 years agoDo not overwrite mm locale files.
Ruslan Ermilov [Mon, 3 Jun 2002 15:12:42 +0000 (15:12 +0000)]
Do not overwrite mm locale files.

22 years agoCorrect History: cal(1) appeared in V5, not V6.
Tim J. Robbins [Mon, 3 Jun 2002 15:02:02 +0000 (15:02 +0000)]
Correct History: cal(1) appeared in V5, not V6.

22 years agoCorrect history (again): V3 had a kill command, only it was in section 8,
Tim J. Robbins [Mon, 3 Jun 2002 14:59:49 +0000 (14:59 +0000)]
Correct history (again): V3 had a kill command, only it was in section 8,
not 1.

22 years agoCorrect History: nice(1) appeared in V4.
Tim J. Robbins [Mon, 3 Jun 2002 14:56:57 +0000 (14:56 +0000)]
Correct History: nice(1) appeared in V4.

22 years agoCorrect History: time(1) appeared at least as early as V3.
Tim J. Robbins [Mon, 3 Jun 2002 14:54:04 +0000 (14:54 +0000)]
Correct History: time(1) appeared at least as early as V3.

22 years agoReimplement FILES support using bsd.files.mk with the
Ruslan Ermilov [Mon, 3 Jun 2002 14:49:34 +0000 (14:49 +0000)]
Reimplement FILES support using bsd.files.mk with the
same set of features as in recently added bsd.incs.mk
(FILESGROUPS, accessibility from both bsd.prog.mk and
bsd.lib.mk, de-pessimized typical installation path,
etc.)  New standard targets: buildfiles, installfiles,
and files (buildfiles + installfiles).

22 years agoCorrect History: sync(8) appeared in V4.
Tim J. Robbins [Mon, 3 Jun 2002 14:48:33 +0000 (14:48 +0000)]
Correct History: sync(8) appeared in V4.

22 years agoCorrect History section: kill(1) appeared in V4, not V6.
Tim J. Robbins [Mon, 3 Jun 2002 14:45:20 +0000 (14:45 +0000)]
Correct History section: kill(1) appeared in V4, not V6.

22 years agoSort sections.
Tim J. Robbins [Mon, 3 Jun 2002 14:42:28 +0000 (14:42 +0000)]
Sort sections.

22 years agoCorrect HISTORY section - split(1) appeared at least as early as V3.
Tim J. Robbins [Mon, 3 Jun 2002 14:41:32 +0000 (14:41 +0000)]
Correct HISTORY section - split(1) appeared at least as early as V3.

22 years agoCall getmntinfo with MNT_NOWAIT to avoid hanging if any NFS servers
Ian Dowse [Mon, 3 Jun 2002 12:06:49 +0000 (12:06 +0000)]
Call getmntinfo with MNT_NOWAIT to avoid hanging if any NFS servers
are down. Avoid trying to send RPCs to the pidXXX@machine names
used in the special amd(8) mounts.

PR: bin/6183
Submitted by: Petr Lampa <lampa@fee.vutbr.cz>

22 years agoSkip %pN comes from ncurses
Andrey A. Chernov [Mon, 3 Jun 2002 10:44:39 +0000 (10:44 +0000)]
Skip %pN comes from ncurses

PR: 15418

22 years agoAdd pc98 subdirectory.
Yoshihiro Takahashi [Mon, 3 Jun 2002 09:58:44 +0000 (09:58 +0000)]
Add pc98 subdirectory.

22 years agoQuick and dirty convert to newbus. (Eventually 'eni.c' should go away.)
Matthew N. Dodd [Mon, 3 Jun 2002 09:16:52 +0000 (09:16 +0000)]
Quick and dirty convert to newbus. (Eventually 'eni.c' should go away.)

Module loads and unloads properly.

Thanks to Richard Hodges <rh@matriplex.com> for donating the hardware
to allow me to work on this driver.

22 years agoAdd new 'hea' driver files.
Matthew N. Dodd [Mon, 3 Jun 2002 09:14:12 +0000 (09:14 +0000)]
Add new 'hea' driver files.

22 years agoBuild a 'hea_pci' driver module.
Matthew N. Dodd [Mon, 3 Jun 2002 09:13:53 +0000 (09:13 +0000)]
Build a 'hea_pci' driver module.

22 years ago- Add 'hea'.
Matthew N. Dodd [Mon, 3 Jun 2002 09:13:22 +0000 (09:13 +0000)]
- Add 'hea'.
- Compile 'hfa' only on i386 (for now).

22 years agoRemove comment about NO_WERROR, since it no longer applies.
Robert Watson [Mon, 3 Jun 2002 00:21:13 +0000 (00:21 +0000)]
Remove comment about NO_WERROR, since it no longer applies.

Pointed out by: silby

22 years ago o Migrate vm_map_split() from vm_map.c to vm_object.c, renaming it
Alan Cox [Sun, 2 Jun 2002 23:54:09 +0000 (23:54 +0000)]
 o Migrate vm_map_split() from vm_map.c to vm_object.c, renaming it
   to vm_object_split().  Its interface should still be changed
   to resemble vm_object_shadow().

22 years agoConnect perl to the build.
Dag-Erling Smørgrav [Sun, 2 Jun 2002 22:43:17 +0000 (22:43 +0000)]
Connect perl to the build.

22 years agoANSIfy the one remaining K&R function.
Dag-Erling Smørgrav [Sun, 2 Jun 2002 21:57:28 +0000 (21:57 +0000)]
ANSIfy the one remaining K&R function.

22 years agoWhitespace nits.
Dag-Erling Smørgrav [Sun, 2 Jun 2002 21:55:58 +0000 (21:55 +0000)]
Whitespace nits.

22 years agoAdd support for 'j' flag. Simplify the size modifier code and reduce code
Dag-Erling Smørgrav [Sun, 2 Jun 2002 21:54:55 +0000 (21:54 +0000)]
Add support for 'j' flag.  Simplify the size modifier code and reduce code
duplication.  Also add support for 'n' specifier.

Reviewed by: bde

22 years agoFix typo in the BSD copyright: s/withough/without/
Jens Schweikhardt [Sun, 2 Jun 2002 20:05:59 +0000 (20:05 +0000)]
Fix typo in the BSD copyright: s/withough/without/

Spotted and suggested by: des
MFC after: 3 weeks

22 years ago o Style fixes to vm_map_split(), including the elimination of one variable
Alan Cox [Sun, 2 Jun 2002 19:32:05 +0000 (19:32 +0000)]
 o Style fixes to vm_map_split(), including the elimination of one variable
   declaration that shadows another.

Note: This function should really be vm_object_split(), not vm_map_split().

Reviewed by: md5

22 years agoFix breakage caused by allocating the I/O buffer. There was a
Marcel Moolenaar [Sun, 2 Jun 2002 19:20:37 +0000 (19:20 +0000)]
Fix breakage caused by allocating the I/O buffer. There was a
sizeof(buf) lurking around that I missed.

PR: 38811
Submitted by: Adrian Colley <aecolley@spamcop.net>

22 years agoTurn on the math function stub stubs.
David E. O'Brien [Sun, 2 Jun 2002 17:49:08 +0000 (17:49 +0000)]
Turn on the math function stub stubs.

Submitted by: Martin Blapp <mb@imp.ch>
I believe OK with: peter

22 years agoTwo markup fixes in sendmail section, add a missing word.
Bruce A. Mah [Sun, 2 Jun 2002 16:24:23 +0000 (16:24 +0000)]
Two markup fixes in sendmail section, add a missing word.

22 years agoFix error in ls -h relnote.
Bruce A. Mah [Sun, 2 Jun 2002 16:20:36 +0000 (16:20 +0000)]
Fix error in ls -h relnote.

Submitted by: Kurashina Hideyuki <ac14806t@st.nagaoka-ct.ac.jp>,
Ross Lippert <ripper@eskimo.com>

22 years agoAdd NCURSES_OSPEED replace command to MANFILTER
Andrey A. Chernov [Sun, 2 Jun 2002 16:11:57 +0000 (16:11 +0000)]
Add NCURSES_OSPEED replace command to MANFILTER

22 years agoDon't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER is
Brian Somers [Sun, 2 Jun 2002 14:27:02 +0000 (14:27 +0000)]
Don't send a RAD_NAS_IP_ADDRESS attribute as RAD_NAS_IDENTIFIER is
sufficient.

In fact, using both breaks the radiator RADIUS daemon when used with
a db as it maps both attributes to the same field value and then
fails the insert.

I decided to remove RAD_NAS_IP_ADDRESS on the basis that rfc2138 says:

      An Access-Request MUST contain a User-Name attribute.  It SHOULD
      contain either a NAS-IP-Address attribute or NAS-Identifier
      attribute (or both, although that is not recommended).  It MUST

despite the fact that this not recommended bit was removed from the
updated rfc.

22 years agoSupport the SysV-style -exec utility args.. {} + function, required by
Tim J. Robbins [Sun, 2 Jun 2002 12:57:41 +0000 (12:57 +0000)]
Support the SysV-style -exec utility args.. {} + function, required by
SUSv3. This is similar to find foo -print0 | xargs -0 utility args.

22 years agoFix spelling errors: minumum, overriden, inheritted
Jens Schweikhardt [Sun, 2 Jun 2002 10:41:43 +0000 (10:41 +0000)]
Fix spelling errors: minumum, overriden, inheritted

MFC after: 3 weeks

22 years agoCorrect a bunch of typos. Translators can ignore this commit.
Jens Schweikhardt [Sun, 2 Jun 2002 10:27:41 +0000 (10:27 +0000)]
Correct a bunch of typos. Translators can ignore this commit.

MFC after: 3 weeks

22 years agoRemove a URL from the middle of the BSD copyright (a clicko? a pasto?).
Jens Schweikhardt [Sun, 2 Jun 2002 10:05:55 +0000 (10:05 +0000)]
Remove a URL from the middle of the BSD copyright (a clicko? a pasto?).
Fix typos:
s/evironment/environment
s/cont/const
s/_lonjmp/_longjmp

MFC after:  3 weeks

22 years agoDon't exit immediately if an error occurs, continue but exit non-zero.
Tim J. Robbins [Sun, 2 Jun 2002 09:32:39 +0000 (09:32 +0000)]
Don't exit immediately if an error occurs, continue but exit non-zero.

22 years agoFix typo causing ``fc -e'' to not work correctly. getopt() sets optarg,
Tim J. Robbins [Sun, 2 Jun 2002 08:34:09 +0000 (08:34 +0000)]
Fix typo causing ``fc -e'' to not work correctly. getopt() sets optarg,
not shoptarg.

22 years agoAdding an entry to the history with H_ENTER moves libedit's internal
Tim J. Robbins [Sun, 2 Jun 2002 08:27:04 +0000 (08:27 +0000)]
Adding an entry to the history with H_ENTER moves libedit's internal
history cursor. Reset the cursor after adding the entry to the history
when doing ``fc -s'' so the output is correct.

22 years ago o Condition vm_object_pmap_copy_1()'s compilation on the kernel
Alan Cox [Sun, 2 Jun 2002 06:31:41 +0000 (06:31 +0000)]
 o Condition vm_object_pmap_copy_1()'s compilation on the kernel
   option ENABLE_VFS_IOOPT.  Unless this option is in effect,
   vm_object_pmap_copy_1() is not used.

22 years agobde noticed that SOMAXCONN breaks pretty badly as an option for LINT.
Alfred Perlstein [Sun, 2 Jun 2002 04:32:52 +0000 (04:32 +0000)]
bde noticed that SOMAXCONN breaks pretty badly as an option for LINT.
so back it out.

22 years ago o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),
Alan Cox [Sat, 1 Jun 2002 22:41:43 +0000 (22:41 +0000)]
 o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),
   vm_map_create(), and vm_map_submap().
 o Make further use of a local variable in vm_map_entry_splay()
   that caches a reference to one of a vm_map_entry's children.
   (This reduces code size somewhat.)
 o Revert a part of revision 1.66, deinlining vmspace_pmap().
   (This function is MPSAFE.)

22 years agoFinish removing the share/man/tools/directory.
Bruce Evans [Sat, 1 Jun 2002 21:38:39 +0000 (21:38 +0000)]
Finish removing the share/man/tools/directory.

22 years agoBe more strict about namespaces.
Mike Barcroft [Sat, 1 Jun 2002 21:07:10 +0000 (21:07 +0000)]
Be more strict about namespaces.

Submitted by: wollman (mostly)

22 years agoBackout/modify previous revision:
Alfred Perlstein [Sat, 1 Jun 2002 20:54:21 +0000 (20:54 +0000)]
Backout/modify previous revision:
  "empty default cases shouldn't be removed, they should have a break;
  statement added to them."

Requested by: billf

22 years agoSilence warnings, remove some empty 'default' switch cases.
Alfred Perlstein [Sat, 1 Jun 2002 20:40:42 +0000 (20:40 +0000)]
Silence warnings, remove some empty 'default' switch cases.

22 years agoDeclare a variable sized array within a structure using [] rather than [0]
Alfred Perlstein [Sat, 1 Jun 2002 20:40:05 +0000 (20:40 +0000)]
Declare a variable sized array within a structure using [] rather than [0]
to silence warnings.

22 years agoSilence preprocessor warning, No need to use CONCAT with "," and "word".
Alfred Perlstein [Sat, 1 Jun 2002 20:22:33 +0000 (20:22 +0000)]
Silence preprocessor warning, No need to use CONCAT with "," and "word".

22 years agoUnbreak LINT by compensating for the
Alfred Perlstein [Sat, 1 Jun 2002 19:54:21 +0000 (19:54 +0000)]
Unbreak LINT by compensating for the
ng_parse_struct_info -> ng_parse_struct_field change.

22 years agoSkip duplicated prefixes in get_prefix().
Hajimu UMEMOTO [Sat, 1 Jun 2002 19:16:13 +0000 (19:16 +0000)]
Skip duplicated prefixes in get_prefix().

Obtained from: KAME

22 years agoFix some, but not all style bugs.
Mike Barcroft [Sat, 1 Jun 2002 18:58:02 +0000 (18:58 +0000)]
Fix some, but not all style bugs.

22 years agoFix warnings.
Alfred Perlstein [Sat, 1 Jun 2002 18:50:35 +0000 (18:50 +0000)]
Fix warnings.
There's no need to use concatination when you have 'something.macro_arg'.
Comment out comment following #endif.

22 years agoGet rid of warnings, there's no need to do preprocessor concatination of
Alfred Perlstein [Sat, 1 Jun 2002 18:45:33 +0000 (18:45 +0000)]
Get rid of warnings, there's no need to do preprocessor concatination of
things with commas and equal signs.

22 years agoAdd mdoc bits for the new waitpid() WCONTINUED option, and
Mike Barcroft [Sat, 1 Jun 2002 18:38:58 +0000 (18:38 +0000)]
Add mdoc bits for the new waitpid() WCONTINUED option, and
WIFCONTINUED macro.

22 years agoAdd POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flag
Mike Barcroft [Sat, 1 Jun 2002 18:37:46 +0000 (18:37 +0000)]
Add POSIX.1-2001 WCONTINUED option for waitpid(2).  A proc flag
(P_CONTINUED) is set when a stopped process receives a SIGCONT and
cleared after it has notified a parent process that has requested
notification via waitpid(2) with WCONTINUED specified in its options
operand.  The status value can be checked with the new WIFCONTINUED()
macro.

Reviewed by: jake

22 years agoFixed the return value of fpsetmask(). The API requires inversion of the
Bruce Evans [Sat, 1 Jun 2002 17:39:46 +0000 (17:39 +0000)]
Fixed the return value of fpsetmask().  The API requires inversion of the
mask on both input and output to fpsetmask(), but this was only done for
input, so fpsetmask() returned the complement of the old mask (ANDed with
the mask bitfield).

PR: 38170
MFC after: 4 weeks

22 years agoKNF
Hajimu UMEMOTO [Sat, 1 Jun 2002 17:28:12 +0000 (17:28 +0000)]
KNF

Obtained from: KAME

22 years agoFixed style bugs in rev.1.9.
Bruce Evans [Sat, 1 Jun 2002 17:27:16 +0000 (17:27 +0000)]
Fixed style bugs in rev.1.9.

22 years ago o Revert a part of revision 1.66, contrary to what that commit message says,
Alan Cox [Sat, 1 Jun 2002 16:59:30 +0000 (16:59 +0000)]
 o Revert a part of revision 1.66, contrary to what that commit message says,
   deinlining vm_map_entry_behavior() and vm_map_entry_set_behavior()
   actually increases the kernel's size.
 o Make vm_map_entry_set_behavior() static and add a comment describing
   its purpose.
 o Remove an unnecessary initialization statement from vm_map_entry_splay().

22 years agosprintf -> snprintf
Hajimu UMEMOTO [Sat, 1 Jun 2002 16:50:21 +0000 (16:50 +0000)]
sprintf -> snprintf

Obtained from: KAME

22 years agoFix a couple of places where preprocessor concatination was misused and
Alfred Perlstein [Sat, 1 Jun 2002 16:21:26 +0000 (16:21 +0000)]
Fix a couple of places where preprocessor concatination was misused and
something wound up grafted to a comma.

22 years agoSilence warning.
Alfred Perlstein [Sat, 1 Jun 2002 16:20:27 +0000 (16:20 +0000)]
Silence warning.

When casting a "const void *" to a "struct foo **" you want to actually
cast it to "struct foo * const *" not simply "const struct foo **".

22 years agoBrush up descriptions of sendmail menu last added.
Makoto Matsushita [Sat, 1 Jun 2002 15:47:49 +0000 (15:47 +0000)]
Brush up descriptions of sendmail menu last added.

Submitted by: gshapiro

22 years agoAdd 'Sendmail' menu to set sendmail_enable variable.
Makoto Matsushita [Sat, 1 Jun 2002 14:50:14 +0000 (14:50 +0000)]
Add 'Sendmail' menu to set sendmail_enable variable.

Reviewed by: bmah (description only)

22 years agoFix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
Brian Feldman [Sat, 1 Jun 2002 13:25:47 +0000 (13:25 +0000)]
Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
was initiated at the last character of the line buffer, the Wrong
Thing was done and sed barfed by interpreting the following NUL byte
as a digit.  Instead, pull up the next buffer and record that the "\"
was last seen.

22 years agoMake devfs to give honour to PDIRUNLOCK flag.
Semen Ustimenko [Sat, 1 Jun 2002 09:17:43 +0000 (09:17 +0000)]
Make devfs to give honour to PDIRUNLOCK flag.

Reviewed by: jeff
MFC after: 1 week

22 years agoQuick, low impact band-aide to unbreak the build. Added && 0 so we
Ruslan Ermilov [Sat, 1 Jun 2002 08:29:12 +0000 (08:29 +0000)]
Quick, low impact band-aide to unbreak the build.  Added && 0 so we
ifdef out what appears to be a bogus call to softintr using data
elements that aren't in the softc.

Forgotten by: imp

22 years agoAlphaPC164 can have 1Gbyte of RAM using 8x 128MB SIMMs
Wilko Bulte [Sat, 1 Jun 2002 08:10:06 +0000 (08:10 +0000)]
AlphaPC164 can have 1Gbyte of RAM using 8x 128MB SIMMs

Obtained from: Usenet posting by lbohan@spamless..dbc.com

22 years agoShould have been part of recent commit:
Alfred Perlstein [Sat, 1 Jun 2002 07:18:32 +0000 (07:18 +0000)]
Should have been part of recent commit:
  Fix GCC warnings caused by initializing a zero length array. In the process,
  simply things a bit by getting rid of 'struct ng_parse_struct_info' which
  was useless because it only contained one field.
But now I'm unbreaking compilation by adjusting these files to the recent
netgraph change.

22 years agoCall destroy_dev in detach routine to cleanup properly otherwise we
Alfred Perlstein [Sat, 1 Jun 2002 06:23:47 +0000 (06:23 +0000)]
Call destroy_dev in detach routine to cleanup properly otherwise we
panic because of a repeat make_dev if/when the device is reattached
to the system.

Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__"
(*sigh*)

Reported by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>
Tested by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>

22 years agoUse PCI_INTERRUPT_VALI in stead of hard coded 255
Warner Losh [Sat, 1 Jun 2002 05:48:58 +0000 (05:48 +0000)]
Use PCI_INTERRUPT_VALI in stead of hard coded 255

22 years agoMore style(9) nits
Warner Losh [Sat, 1 Jun 2002 05:44:45 +0000 (05:44 +0000)]
More style(9) nits

22 years agoDefine a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALID
Warner Losh [Sat, 1 Jun 2002 05:40:33 +0000 (05:40 +0000)]
Define a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALID

22 years agoUse a common function to map the bogus intlines.
Warner Losh [Sat, 1 Jun 2002 05:14:11 +0000 (05:14 +0000)]
Use a common function to map the bogus intlines.
Don't require pin be non-zero before we map bogus intlines, always do it.
This fixes a number of problems on HP Omnibook computers.

Tested/Reviewed by: Brooks Davis

22 years agoMake a structure definition slightly more style(9) compliant (makes
Brian S. Dean [Sat, 1 Jun 2002 03:55:16 +0000 (03:55 +0000)]
Make a structure definition slightly more style(9) compliant (makes
the structure definition easier to find using grep).

22 years agoMake this file mostly conform to style(9).
Warner Losh [Sat, 1 Jun 2002 03:41:02 +0000 (03:41 +0000)]
Make this file mostly conform to style(9).

Approved by: msmith in principle before walkabout

22 years agoImplement $PPID, the parent process ID of the shell.
Tim J. Robbins [Sat, 1 Jun 2002 02:14:48 +0000 (02:14 +0000)]
Implement $PPID, the parent process ID of the shell.

22 years agoSupport the remaining job ID formats required by SUSv3:
Tim J. Robbins [Sat, 1 Jun 2002 01:51:42 +0000 (01:51 +0000)]
Support the remaining job ID formats required by SUSv3:
%+ (current job, same as %%),
%- (previous job),
%?str (job with "str" in its command name).

22 years agoWe have a version of help(SCCS) in /usr/bin now.
Juli Mallett [Sat, 1 Jun 2002 01:07:50 +0000 (01:07 +0000)]
We have a version of help(SCCS) in /usr/bin now.

22 years agoRemove a stray asterisk in a comment.
Juli Mallett [Sat, 1 Jun 2002 00:52:28 +0000 (00:52 +0000)]
Remove a stray asterisk in a comment.

22 years agoFix GCC warnings caused by initializing a zero length array. In the process,
Archie Cobbs [Fri, 31 May 2002 23:48:03 +0000 (23:48 +0000)]
Fix GCC warnings caused by initializing a zero length array. In the process,
simply things a bit by getting rid of 'struct ng_parse_struct_info' which
was useless because it only contained one field.

MFC after: 2 weeks

22 years agoQuick, low impact band-aide to unbreak the build. Added && 0 so we
Warner Losh [Fri, 31 May 2002 23:39:04 +0000 (23:39 +0000)]
Quick, low impact band-aide to unbreak the build.  Added && 0 so we
ifdef out what appears to be a bogus call to softintr using data
elements that aren't in the softc.

22 years agoWarnings cleanup for gcc3. Also __FUNCTION__ -> __func__
Eric Anholt [Fri, 31 May 2002 23:19:50 +0000 (23:19 +0000)]
Warnings cleanup for gcc3.  Also __FUNCTION__ -> __func__

Approved by: des

22 years agoGrammar nit: treat "contents" as plural.
Archie Cobbs [Fri, 31 May 2002 22:26:19 +0000 (22:26 +0000)]
Grammar nit: treat "contents" as plural.

22 years agoFix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was being
Archie Cobbs [Fri, 31 May 2002 22:09:57 +0000 (22:09 +0000)]
Fix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was being
set to zero. This field indicates the total space in the external buffer
and therefore should not be modified after the external buffer is added.

Add a comment warning that the mbufs returned by m_split() might be read-only.

Fix M_TRAILINGSPACE() to return zero if !M_WRITABLE(m).

Reviewed by: freebsd-net
Obtained from: Vernier Networks, Inc.
MFC after: 1 week

22 years agoDon't load a module from /stand/modules in the MFS root if it is already in
John Baldwin [Fri, 31 May 2002 20:06:24 +0000 (20:06 +0000)]
Don't load a module from /stand/modules in the MFS root if it is already in
the kernel.

22 years agoWe don't build libc_r on sparc64 for the moment.
Ruslan Ermilov [Fri, 31 May 2002 19:59:12 +0000 (19:59 +0000)]
We don't build libc_r on sparc64 for the moment.

22 years agopc98 now has its own relnotes and hardware documents.
Bruce A. Mah [Fri, 31 May 2002 19:31:26 +0000 (19:31 +0000)]
pc98 now has its own relnotes and hardware documents.

22 years agoAdd/Update hardware, installation and relnotes documentations for pc98.
Yoshihiro Takahashi [Fri, 31 May 2002 18:00:39 +0000 (18:00 +0000)]
Add/Update hardware, installation and relnotes documentations for pc98.

Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> and nyan
Reviewed by: bmah

22 years ago__FreeBSD__ is not a compiler constant. We must use
Hajimu UMEMOTO [Fri, 31 May 2002 17:56:45 +0000 (17:56 +0000)]
__FreeBSD__ is not a compiler constant.  We must use
__FreeBSD_version here.

Submitted by: rwatson

22 years agoFix integer overflow causing disk/partition size display wrapping
Pierre Beyssac [Fri, 31 May 2002 17:03:01 +0000 (17:03 +0000)]
Fix integer overflow causing disk/partition size display wrapping
above 4GB.

22 years agoNit: kern.ttys is of type S,xtty, not S,tty.
Dag-Erling Smørgrav [Fri, 31 May 2002 16:11:49 +0000 (16:11 +0000)]
Nit: kern.ttys is of type S,xtty, not S,tty.

22 years agopkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because
Bruce A. Mah [Fri, 31 May 2002 15:45:48 +0000 (15:45 +0000)]
pkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because
we weren't properly checking for the case that the two version strings
being compared had different numbers of components.  This has been
fixed.

Pointed out by: sobomax
Reviewed by: silence on -ports

22 years agoBackout recent typo "fix". I've been enlightened that it's an obsolete
Jens Schweikhardt [Fri, 31 May 2002 14:36:45 +0000 (14:36 +0000)]
Backout recent typo "fix". I've been enlightened that it's an obsolete
and rare synonym for indomitable (from the French indomptable)

Requested by: "Jacques A. Vidrine" <nectar@FreeBSD.org>

22 years ago- Document the new `diskInteractive' variable.
John Baldwin [Fri, 31 May 2002 14:32:03 +0000 (14:32 +0000)]
- Document the new `diskInteractive' variable.
- Document the tcpMenuSelect command.

Sponsored by: The Weather Channel

22 years agoAdd -s (output PID's only) and -l (show PID's) options to the jobs(1)
Tim J. Robbins [Fri, 31 May 2002 14:04:23 +0000 (14:04 +0000)]
Add -s (output PID's only) and -l (show PID's) options to the jobs(1)
builtin. Modify the output format to match what SUSv3 requires.

22 years agoIf 'netInteractive' is set to true in an installation script, then
John Baldwin [Fri, 31 May 2002 13:39:55 +0000 (13:39 +0000)]
If 'netInteractive' is set to true in an installation script, then
temporarily turn off the nonInteractive variable around the DHCP and IPv6
Yes/No questions in a network device setup so that those questions are
asked.