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
John Baldwin
fa82904a90
Don't load a module from /stand/modules in the MFS root if it is already in
...
the kernel.
2002-05-31 20:06:24 +00:00
Ruslan Ermilov
2d80eecc97
We don't build libc_r on sparc64 for the moment.
2002-05-31 19:59:12 +00:00
Bruce A. Mah
f7f8fa6135
pc98 now has its own relnotes and hardware documents.
2002-05-31 19:31:26 +00:00
Yoshihiro Takahashi
64917c4f00
Add/Update hardware, installation and relnotes documentations for pc98.
...
Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> and nyan
Reviewed by: bmah
2002-05-31 18:00:39 +00:00
Hajimu UMEMOTO
0776834a11
__FreeBSD__ is not a compiler constant. We must use
...
__FreeBSD_version here.
Submitted by: rwatson
2002-05-31 17:56:45 +00:00
Pierre Beyssac
81f5d1fac0
Fix integer overflow causing disk/partition size display wrapping
...
above 4GB.
2002-05-31 17:03:01 +00:00
Dag-Erling Smørgrav
7aa57dca57
Nit: kern.ttys is of type S,xtty, not S,tty.
2002-05-31 16:11:49 +00:00
Bruce A. Mah
ca8f81dd24
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
2002-05-31 15:45:48 +00:00
Jens Schweikhardt
8f53a66abc
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>
2002-05-31 14:36:45 +00:00
John Baldwin
4f3624a441
- Document the new `diskInteractive' variable.
...
- Document the tcpMenuSelect command.
Sponsored by: The Weather Channel
2002-05-31 14:32:03 +00:00
Tim J. Robbins
ad8a075902
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.
2002-05-31 14:04:23 +00:00
John Baldwin
dc1024256c
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.
2002-05-31 13:39:55 +00:00
John Baldwin
df349781bf
Add a 'diskInteractive' variable that can be set to interactively partition
...
and label a disk from a sysinstall script.
2002-05-31 13:38:17 +00:00
Jens Schweikhardt
55847cbc30
Typo: s/Indomptable/Indomitable/
...
MFC after: 3 weeks
2002-05-31 13:26:56 +00:00
Ruslan Ermilov
8c5fbbf993
Fixed modes.
2002-05-31 13:20:01 +00:00
Tim J. Robbins
bdfc15df5e
#if JOBS around a job control-related statement to allow compilation with
...
job control disabled.
2002-05-31 13:10:38 +00:00
Tim J. Robbins
e3f3094912
Break the code to display status info for one job out from showjobs() into
...
showjob(), use it inside dowait() to display status info for consistency,
and in a format closer to what the standard requires.
2002-05-31 13:07:05 +00:00
Ruslan Ermilov
99b73fffb8
On behalf of lib/compat/compat4x.i386/libusb.so.0.bz2.uu,v 1.1,
...
added uudecode(1) to bootstrap-tools.
2002-05-31 13:04:09 +00:00
Ruslan Ermilov
ce17d4f3d3
Bootstrapping aid for those with Athlon upgrading from gcc 2.95.x.
...
Prodded by: gordon
2002-05-31 12:50:24 +00:00
Tim J. Robbins
3771ef59ae
Move job to front of most recently used job list when bg'd or fg'd.
2002-05-31 12:35:34 +00:00