Jens Schweikhardt
81c4f30f7f
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
2002-06-02 10:05:55 +00:00
Tim J. Robbins
dcafd7c96a
Don't exit immediately if an error occurs, continue but exit non-zero.
2002-06-02 09:32:39 +00:00
Tim J. Robbins
ee6712f2f9
Fix typo causing ``fc -e'' to not work correctly. getopt() sets optarg,
...
not shoptarg.
2002-06-02 08:34:09 +00:00
Tim J. Robbins
32c077867c
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.
2002-06-02 08:27:04 +00:00
Alan Cox
72353893d4
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.
2002-06-02 06:31:41 +00:00
Alfred Perlstein
6e330f3e36
bde noticed that SOMAXCONN breaks pretty badly as an option for LINT.
...
so back it out.
2002-06-02 04:32:52 +00:00
Alan Cox
61c075b67f
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.)
2002-06-01 22:41:43 +00:00
Bruce Evans
8d0203782e
Finish removing the share/man/tools/directory.
2002-06-01 21:38:39 +00:00
Mike Barcroft
8ad4a5a605
Be more strict about namespaces.
...
Submitted by: wollman (mostly)
2002-06-01 21:07:10 +00:00
Alfred Perlstein
ba5a4d6c02
Backout/modify previous revision:
...
"empty default cases shouldn't be removed, they should have a break;
statement added to them."
Requested by: billf
2002-06-01 20:54:21 +00:00
Alfred Perlstein
37e1dd483d
Silence warnings, remove some empty 'default' switch cases.
2002-06-01 20:40:42 +00:00
Alfred Perlstein
f3bfd2edaf
Declare a variable sized array within a structure using [] rather than [0]
...
to silence warnings.
2002-06-01 20:40:05 +00:00
Alfred Perlstein
50225e2f48
Silence preprocessor warning, No need to use CONCAT with "," and "word".
2002-06-01 20:22:33 +00:00
Alfred Perlstein
7e743e3a41
Unbreak LINT by compensating for the
...
ng_parse_struct_info -> ng_parse_struct_field change.
2002-06-01 19:54:21 +00:00
Hajimu UMEMOTO
c7aec5cc57
Skip duplicated prefixes in get_prefix().
...
Obtained from: KAME
2002-06-01 19:16:13 +00:00
Mike Barcroft
0658e085a7
Fix some, but not all style bugs.
2002-06-01 18:58:02 +00:00
Alfred Perlstein
47f654d3a0
Fix warnings.
...
There's no need to use concatination when you have 'something.macro_arg'.
Comment out comment following #endif.
2002-06-01 18:50:35 +00:00
Alfred Perlstein
5e8176f9cb
Get rid of warnings, there's no need to do preprocessor concatination of
...
things with commas and equal signs.
2002-06-01 18:45:33 +00:00
Mike Barcroft
9c85a5ca25
Add mdoc bits for the new waitpid() WCONTINUED option, and
...
WIFCONTINUED macro.
2002-06-01 18:38:58 +00:00
Mike Barcroft
6ee093fb8f
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
2002-06-01 18:37:46 +00:00
Bruce Evans
136956ed12
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
2002-06-01 17:39:46 +00:00
Hajimu UMEMOTO
99a92b2c8a
KNF
...
Obtained from: KAME
2002-06-01 17:28:12 +00:00
Bruce Evans
511dab6218
Fixed style bugs in rev.1.9.
2002-06-01 17:27:16 +00:00
Alan Cox
794316a866
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().
2002-06-01 16:59:30 +00:00
Hajimu UMEMOTO
bc89a11710
sprintf -> snprintf
...
Obtained from: KAME
2002-06-01 16:50:21 +00:00
Alfred Perlstein
e27f378e33
Fix a couple of places where preprocessor concatination was misused and
...
something wound up grafted to a comma.
2002-06-01 16:21:26 +00:00
Alfred Perlstein
78b226dc81
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 **".
2002-06-01 16:20:27 +00:00
Makoto Matsushita
29233a2d8a
Brush up descriptions of sendmail menu last added.
...
Submitted by: gshapiro
2002-06-01 15:47:49 +00:00
Makoto Matsushita
b1e41adda4
Add 'Sendmail' menu to set sendmail_enable variable.
...
Reviewed by: bmah (description only)
2002-06-01 14:50:14 +00:00
Brian Feldman
f020c7fa88
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.
2002-06-01 13:25:47 +00:00
Semen Ustimenko
c83fca1f1f
Make devfs to give honour to PDIRUNLOCK flag.
...
Reviewed by: jeff
MFC after: 1 week
2002-06-01 09:17:43 +00:00
Ruslan Ermilov
960a771286
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
2002-06-01 08:29:12 +00:00
Wilko Bulte
874e1091aa
AlphaPC164 can have 1Gbyte of RAM using 8x 128MB SIMMs
...
Obtained from: Usenet posting by lbohan@spamless..dbc.com
2002-06-01 08:10:06 +00:00
Alfred Perlstein
058dc44ca0
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.
2002-06-01 07:18:32 +00:00
Alfred Perlstein
fa900b3699
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>
2002-06-01 06:23:47 +00:00
Warner Losh
d508dd347c
Use PCI_INTERRUPT_VALI in stead of hard coded 255
2002-06-01 05:48:58 +00:00
Warner Losh
3c2d2c7cea
More style(9) nits
2002-06-01 05:44:45 +00:00
Warner Losh
f60115a36c
Define a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALID
2002-06-01 05:40:33 +00:00
Warner Losh
8ce1ab3a24
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
2002-06-01 05:14:11 +00:00
Brian S. Dean
181b15f9f8
Make a structure definition slightly more style(9) compliant (makes
...
the structure definition easier to find using grep).
2002-06-01 03:55:16 +00:00
Warner Losh
c9579f73e0
Make this file mostly conform to style(9).
...
Approved by: msmith in principle before walkabout
2002-06-01 03:41:02 +00:00
Tim J. Robbins
39dccc6f6d
Implement $PPID, the parent process ID of the shell.
2002-06-01 02:14:48 +00:00
Tim J. Robbins
f63d6dbfc9
Support the remaining job ID formats required by SUSv3:
...
%+ (current job, same as %%),
%- (previous job),
%?str (job with "str" in its command name).
2002-06-01 01:51:42 +00:00
Juli Mallett
27d72beba7
We have a version of help(SCCS) in /usr/bin now.
2002-06-01 01:07:50 +00:00
Juli Mallett
30617de0f3
Remove a stray asterisk in a comment.
2002-06-01 00:52:28 +00:00
Archie Cobbs
f0184ff8e3
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
2002-05-31 23:48:03 +00:00
Warner Losh
cbcfdbcfe6
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.
2002-05-31 23:39:04 +00:00
Eric Anholt
4956c7034c
Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__
...
Approved by: des
2002-05-31 23:19:50 +00:00
Archie Cobbs
c05b5b0453
Grammar nit: treat "contents" as plural.
2002-05-31 22:26:19 +00:00
Archie Cobbs
48d183faca
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
2002-05-31 22:09:57 +00:00