Commit Graph

75602 Commits

Author SHA1 Message Date
Mike Silbersack
54e84abb59 Ensure that packet counts are always reset to 0 when
a route is cloned.  Previously, they took on the count
of their parent route (which was sometimes nonzero.)

Submitted by:	Andre Oppermann <oppermann@pipeline.ch>
MFC after:	5 days
2002-05-31 04:27:51 +00:00
Alan Cox
9917e01041 Further work on pushing Giant out of the vm_map layer and down
into the vm_object layer:
 o Acquire and release Giant in vm_object_shadow() and
   vm_object_page_remove().
 o Remove the GIANT_REQUIRED assertion preceding vm_map_delete()'s call
   to vm_object_page_remove().
 o Remove the acquisition and release of Giant around vm_map_lookup()'s
   call to vm_object_shadow().
2002-05-31 03:48:55 +00:00
Warner Losh
6f20d5e68f Use __FreeBSD_version to test what things to use 2002-05-31 03:27:34 +00:00
Giorgos Keramidas
f1c746bb3f Typo fix: syste -> system 2002-05-31 01:46:26 +00:00
Takanori Watanabe
6e8f09ca61 Fix build breakage on my pccard related commit. 2002-05-31 01:08:49 +00:00
Marcel Moolenaar
78dff92b6b Don't use an incomplete array type to mark the start of the padding
because the padding should be inserted before the array and not after
it, as is done by GCC 3.1. Instead use an explicit uint32_t field
to get what was intended and on top of that make the size of the
padding explicit. This also doesn't depend on a C99 feature.
While here, expand the comment. Just to make a point.

Pointed out by: fanf
2002-05-31 01:07:13 +00:00
Giorgos Keramidas
806968d6a7 Typo: characer -> character 2002-05-31 00:33:40 +00:00
Giorgos Keramidas
ea36a492fc Typo: duel -> dual 2002-05-30 23:48:00 +00:00
Julian Elischer
a86d27ac85 Add missing unlock
Submitted by: dirkx@covalent.net
2002-05-30 23:41:51 +00:00
Semen Ustimenko
f576a00d1b Remove lock from ffs_vget introduced by v1.24. Instead of locking the
vnode creation globaly, we allow processes to create vnodes concurently.
In case of concurent creation of vnode for the one ino, we allow processes
to race and then check who wins.

Assuming that concurent creation of vnode for same ino is really rare case,
this is belived to be an improvement, as it just allows concurent creation
of vnodes.

Idea by:	bp
Reviewed by:	dillon
MFC after:	1 month
2002-05-30 22:04:17 +00:00
Poul-Henning Kamp
ff84d98ac2 Const poison.
Partially submitted by:	wollman
2002-05-30 21:59:16 +00:00
Garrett Wollman
c706ddb0fc Fix syntax error (label with no statement). 2002-05-30 21:49:15 +00:00
Garrett Wollman
5c7417c4d1 Avoid construction which results in label at end of block. 2002-05-30 21:41:42 +00:00
Garrett Wollman
b055b157dc Fix syntax errors (labels with no statement). 2002-05-30 21:38:58 +00:00
Garrett Wollman
f24b479854 Add used include of <string.h>.
Delete unused include of <strings.h>.
2002-05-30 21:35:39 +00:00
Garrett Wollman
7453f3df01 Add used include of <stdlib.h>, copying style bugs from adjacent lines. 2002-05-30 21:28:58 +00:00
Garrett Wollman
f70bb54433 Fix conflict with <paths.h> by renaming _PATH_LOGIN to _PATH_SLIP_LOGIN,
and likewise LOGOUT for consistency.  Fix a few nearby style bugs.
2002-05-30 21:26:49 +00:00
Garrett Wollman
0bc013b1a6 Fix preprocessor directive syntax (text after #else).
This program is not likely to compile if DEBUG is ever defined.
2002-05-30 21:21:23 +00:00
Garrett Wollman
0fb7a0beb0 Fix preprocessor directive syntax (text after #endif).
The style of this program is still atrocious (not fixed).
2002-05-30 21:18:01 +00:00
Garrett Wollman
75aa1830f8 Fix preprocessor directive syntax (text after #endif). 2002-05-30 21:04:11 +00:00
Garrett Wollman
a96d3de6b3 Fix syntax errors (labels with no statement following). 2002-05-30 21:03:02 +00:00
Garrett Wollman
d7c98975c5 Use correct printf format specifier to print unsigned longs. 2002-05-30 21:00:42 +00:00
Garrett Wollman
c7c5d95d56 Avoid unintentional trigraph. 2002-05-30 20:53:45 +00:00
Garrett Wollman
42959a87a7 Add missing newline at end of file. 2002-05-30 20:51:53 +00:00
Dag-Erling Smørgrav
eb6f605e2f Missed one in previous commit.
Pointed out by:	nectar
2002-05-30 20:48:59 +00:00
Jens Schweikhardt
78ebc785c2 Do not use man entities for items that have been removed, because they
create a link to man.cgi with a manpath for 5-current. Following this
link gives a "Sorry, no data found for `labpc(4)'". Instead, simply
write labpc(4) without any markup (for which pkg_update(1) is prior art)
Remove some whitespace at EOL while I'm here.

Discussed with an okayed by:	bmah
2002-05-30 20:48:13 +00:00
Garrett Wollman
0d542a4797 Add used includes of <stdlib.h>. 2002-05-30 19:49:21 +00:00
Peter Wemm
3c67aa80ec Ignore a c++ that is version other than 3.1 if it does not also match
cc's version.  libgcc.a will have been clobbered and will no longer have
the old c++ support.

Submitted by:	jhb
2002-05-30 19:46:34 +00:00
Garrett Wollman
5685a7738f Add used include of <string.h>. 2002-05-30 19:38:07 +00:00
Juli Mallett
6ea89183fc Restructure sanity checks so that -I and -J just override eachother, rather
than triggering a usage().  Allow -R and -I to be specified in any order, and
thus change how -R checks for -I not being given and triggering a usage().

Partially requested by:	gad
2002-05-30 19:34:31 +00:00
Juli Mallett
986d829b8f Allow the input line to be NULL, and teach strnsubst() that NULL means to use
a nil-string.
2002-05-30 19:24:08 +00:00
David E. O'Brien
e9217a0b8a Add libusb.so.0 from the FreeBSD services 4.5 DVD. libusb is now known as
libusbhid in RELENG_4.

Requested by:	joe
2002-05-30 18:51:03 +00:00
Takanori Watanabe
154ce58548 Forget to change lookup function for oldcard side. 2002-05-30 18:48:44 +00:00
David E. O'Brien
686bea03e9 Add libusb.so.0 from the FreeBSD services 4.5 DVD. libusb is now known as
libusbhid in RELENG_4.

Requested by:	joe
2002-05-30 17:58:49 +00:00
Garrett Wollman
0c215669d4 East Timor's alpha-2 code changed. 2002-05-30 17:53:57 +00:00
Garrett Wollman
2ce14c9809 Note changes to country codes in ISO 3166-1 newsletters V-4 and V-5.
Update URL for ISO 3166/MA.
2002-05-30 17:53:04 +00:00
Takanori Watanabe
80f1001813 Make oldcard and newcard kernel module work. 2002-05-30 17:38:00 +00:00
David E. O'Brien
5b9713cf9b The revision 1.31 tweak was to _not_ write .o's in src/contrib/gcc.
Not the other way around as the log message stated.
2002-05-30 17:23:26 +00:00
Bill Fumerola
82e6546223 indent tdfx line similarly to rest of the file
note that freebsd-ipfw@freebsd.org should be sent patches before making
changes to ipfw.
2002-05-30 16:50:27 +00:00
Poul-Henning Kamp
eef633a71f Mistyped and lost a '&' in previous commit. 2002-05-30 16:26:39 +00:00
Bruce A. Mah
ab25da075c New release note: emulators/linux_base libraries update.
Also tweak a filename reference to reflect linux_base changes.
2002-05-30 15:00:00 +00:00
Ruslan Ermilov
6a63652701 mdoc(7) police: kill whitespace at EOL. 2002-05-30 14:52:00 +00:00
Ruslan Ermilov
5617846748 mdoc(7) police: polish markup. 2002-05-30 14:49:57 +00:00
Ruslan Ermilov
9baa2c98cf mdoc(7) police: tidy up the markup. 2002-05-30 14:32:48 +00:00
Ruslan Ermilov
4e71fd98ee mdoc(7) police: Make this look like an average manpage. 2002-05-30 14:26:02 +00:00
Ruslan Ermilov
36588206d0 mdoc(7) police: kill hard sentence breaks. 2002-05-30 14:10:44 +00:00
Ruslan Ermilov
14387c71ca mdoc(7) police: pedantry. 2002-05-30 14:07:05 +00:00
Ruslan Ermilov
3c7cf139ac mdoc(7) police: tidy up the markup. 2002-05-30 14:02:23 +00:00
Ruslan Ermilov
8bf118ed78 mdoc(7) police: one minor change that was not probably worth a commit. 2002-05-30 13:57:35 +00:00
Ruslan Ermilov
35ff8c06b7 mdoc(7) police: fixed typo, minor markup nits. 2002-05-30 13:52:18 +00:00