]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoThis commit was generated by cvs2svn to compensate for changes in r104185,
Murray Stokely [Mon, 30 Sep 2002 08:39:27 +0000 (08:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r104185,
which included commits to RCS files with non-trunk default branches.

21 years agoImport ISC DHCP 3.0.1 RC9 client.
Murray Stokely [Mon, 30 Sep 2002 08:39:27 +0000 (08:39 +0000)]
Import ISC DHCP 3.0.1 RC9 client.

21 years agoMake sure we don't loose our topology lock in a call_me() handler.
Poul-Henning Kamp [Mon, 30 Sep 2002 08:27:29 +0000 (08:27 +0000)]
Make sure we don't loose our topology lock in a call_me() handler.

Sponsored by: DARPA & NAI Labs.

21 years agoFrench -mdoc localization.
Ruslan Ermilov [Mon, 30 Sep 2002 08:06:11 +0000 (08:06 +0000)]
French -mdoc localization.

Submitted by: gioria
Reviewed by: blackend, ru

21 years ago- Recognize 'idt' interfaces.
Matthew N. Dodd [Mon, 30 Sep 2002 08:01:43 +0000 (08:01 +0000)]
- Recognize 'idt' interfaces.
- The start command is 'atm_start' not 'start_cmd'.

21 years agoRecognize 'idt' interfaces.
Matthew N. Dodd [Mon, 30 Sep 2002 08:01:16 +0000 (08:01 +0000)]
Recognize 'idt' interfaces.

21 years agoDon't leak memory in case device_add_child_ordered() returns NULL.
Poul-Henning Kamp [Mon, 30 Sep 2002 07:56:12 +0000 (07:56 +0000)]
Don't leak memory in case device_add_child_ordered() returns NULL.

Found by: FlexeLint

21 years agolibusb -> libusbhid did not reach here.
Ruslan Ermilov [Mon, 30 Sep 2002 07:54:49 +0000 (07:54 +0000)]
libusb -> libusbhid did not reach here.

21 years agoFreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc.
Ruslan Ermilov [Mon, 30 Sep 2002 07:51:46 +0000 (07:51 +0000)]
FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc.

21 years agoOnly print out the "SMP: AP CPU #N Launched!" message on verbose boots.
David E. O'Brien [Mon, 30 Sep 2002 07:03:16 +0000 (07:03 +0000)]
Only print out the "SMP: AP CPU #N Launched!" message on verbose boots.
The kernel printf() isn't race-free

21 years agoSave the FP state in the PCB as that is compatable with releng4 binaries.
David E. O'Brien [Mon, 30 Sep 2002 07:02:22 +0000 (07:02 +0000)]
Save the FP state in the PCB as that is compatable with releng4 binaries.

This is a band-aid until the KSE pthread committers get back on the ground
and have their machines setup.

Submitted by: eischen

21 years agoHARP driver for the IDT77201/211 NICStAR ATM Adapter (Including Fore LE155).
Matthew N. Dodd [Mon, 30 Sep 2002 05:12:39 +0000 (05:12 +0000)]
HARP driver for the IDT77201/211 NICStAR ATM Adapter (Including Fore LE155).

Obtained from:  Richard Hodges <rh@matriplex.com>

21 years agoUse fcntl.h from inside /sys.
David E. O'Brien [Mon, 30 Sep 2002 02:47:23 +0000 (02:47 +0000)]
Use fcntl.h from inside /sys.

Reviewd by: scottl

21 years agoSAMSUNG SWL-2000P PCI Card
Warner Losh [Mon, 30 Sep 2002 01:19:52 +0000 (01:19 +0000)]
SAMSUNG SWL-2000P PCI Card

Submitted by: Robert Dezorzo

21 years agoPsion Dacom Gold Card Ethernet
Warner Losh [Mon, 30 Sep 2002 01:07:28 +0000 (01:07 +0000)]
Psion Dacom Gold Card Ethernet

Submitted by: Rick Hoppe

21 years agoGeneric Prism2.5 card
Warner Losh [Mon, 30 Sep 2002 00:59:05 +0000 (00:59 +0000)]
Generic Prism2.5 card

Submitted by: Matt Peterson

21 years agoBelkin F5D5020 pccard.
Warner Losh [Mon, 30 Sep 2002 00:51:49 +0000 (00:51 +0000)]
Belkin F5D5020 pccard.

Submitted by: Philip Pereira

21 years agoEntry for I-O Data PCET/100-CL
Warner Losh [Mon, 30 Sep 2002 00:40:23 +0000 (00:40 +0000)]
Entry for I-O Data PCET/100-CL

Submitted by: MATSUO Masahiko-san

21 years agombuf leak in the error case has been fixed. When we have
Warner Losh [Mon, 30 Sep 2002 00:18:12 +0000 (00:18 +0000)]
mbuf leak in the error case has been fixed.  When we have
an error, go ahead and m_freem the buffer.

PR: 32666
Submitted by: Chi-Fung Fan

21 years agoRemove bogus comments about why we do some silly things, and instead
Warner Losh [Sun, 29 Sep 2002 23:56:33 +0000 (23:56 +0000)]
Remove bogus comments about why we do some silly things, and instead
just say that the reasons are historical.

Pr: 41104
Submitted by: hiten

21 years agoMake beep not depend on HZ setting.
Warner Losh [Sun, 29 Sep 2002 23:41:25 +0000 (23:41 +0000)]
Make beep not depend on HZ setting.

PR: 25201
Submitted by: Akio Marita-san
# This is the last part of the PR uncommitted.

21 years agoSMIENB not needed, but maybe PCI_CLOCK is, so put it in #if 0'd out
Warner Losh [Sun, 29 Sep 2002 23:37:07 +0000 (23:37 +0000)]
SMIENB not needed, but maybe PCI_CLOCK is, so put it in #if 0'd out

21 years agoParens considered good.
Warner Losh [Sun, 29 Sep 2002 23:36:17 +0000 (23:36 +0000)]
Parens considered good.

21 years agouh, commit all of the patch
Julian Elischer [Sun, 29 Sep 2002 23:28:58 +0000 (23:28 +0000)]
uh, commit all of the patch

21 years agocommit the version I actually tested..
Julian Elischer [Sun, 29 Sep 2002 23:23:25 +0000 (23:23 +0000)]
commit the version I actually tested..

Submitted by: davidxu

21 years agooops, last second botch: fix extra 'i'
Warner Losh [Sun, 29 Sep 2002 23:16:08 +0000 (23:16 +0000)]
oops, last second botch: fix extra 'i'

21 years agoo Belkin wireless card
Warner Losh [Sun, 29 Sep 2002 23:13:08 +0000 (23:13 +0000)]
o Belkin wireless card

PR: 38919
Submitted by: Tommy Johnson

o IBM IDE CDROM

PR: 39537
Submitted by: Kevin Van Maren

o T-Sunus 130 card

PR: 41802
Submitted by: Oliver Schneider

21 years agoImplement basic KSE loaning. This stops a hread that is blocked in BOUND mode
Julian Elischer [Sun, 29 Sep 2002 23:04:34 +0000 (23:04 +0000)]
Implement basic KSE loaning. This stops a hread that is blocked in BOUND mode
from stopping another thread from completing a syscall, and this allows it to
release its resources etc. Probably more related commits to follow (at least
one I know of)

Initial concept by: julian, dillon
Submitted by: davidxu

21 years agoFinishing sparc64 translation, somes fixs on alpha
Sebastien Gioria [Sun, 29 Sep 2002 23:02:15 +0000 (23:02 +0000)]
Finishing sparc64 translation, somes fixs on alpha

21 years agoAdd -x option. This causes pccardd to exit after probing the cards. This
Warner Losh [Sun, 29 Sep 2002 23:00:11 +0000 (23:00 +0000)]
Add -x option.  This causes pccardd to exit after probing the cards.  This
is useful for low memory systems.

PR: 36418
Submitted by: Forrest W. Christian

21 years agoAdd a ; to make a non-null statement
Warner Losh [Sun, 29 Sep 2002 22:58:53 +0000 (22:58 +0000)]
Add a ; to make a non-null statement

21 years agoo FreeSPirit ISDN/56K modem card
Warner Losh [Sun, 29 Sep 2002 22:51:31 +0000 (22:51 +0000)]
o FreeSPirit ISDN/56K modem card
o No-name OEM Prism card
o ActionTec Prism card
o ZoomAir 11Mbps High Rate wireless networking

PR: 41929, 41928
Submitted by: Bruce M Simpson

o Dynalink L100C16

PR: 41938
Submitted by: Marco van de Voort

21 years ago- Fixs to allow correct building
Sebastien Gioria [Sun, 29 Sep 2002 22:12:30 +0000 (22:12 +0000)]
- Fixs to allow correct building
- Welcome to the new hardware notes section to the build

21 years agoSGMLise accents
Sebastien Gioria [Sun, 29 Sep 2002 21:42:55 +0000 (21:42 +0000)]
SGMLise accents

21 years agoCorrects alls files to allow relnotes build
Sebastien Gioria [Sun, 29 Sep 2002 21:40:45 +0000 (21:40 +0000)]
Corrects alls files to allow relnotes build

21 years agoNew translation
Sebastien Gioria [Sun, 29 Sep 2002 21:17:39 +0000 (21:17 +0000)]
New translation

21 years agoFix comment
Warner Losh [Sun, 29 Sep 2002 18:42:14 +0000 (18:42 +0000)]
Fix comment

21 years agoLimit the TX key to a valid range
Warner Losh [Sun, 29 Sep 2002 18:40:35 +0000 (18:40 +0000)]
Limit the TX key to a valid range

PR: 39960, 39961 (patches here pointed out problem, but didn't quite fix it)

21 years agoDon't leak the bar list for each thing we allocate.
Warner Losh [Sun, 29 Sep 2002 18:07:29 +0000 (18:07 +0000)]
Don't leak the bar list for each thing we allocate.

# This code really needs a rewrite

Spotted by the eagle eyes of: phk

21 years agoMore translation
Sebastien Gioria [Sun, 29 Sep 2002 17:17:03 +0000 (17:17 +0000)]
More translation

21 years agoDon't make an error even if drivers.conf does not exist.
Yoshihiro Takahashi [Sun, 29 Sep 2002 13:47:01 +0000 (13:47 +0000)]
Don't make an error even if drivers.conf does not exist.

Tested on: snapshots.pc98.jp.FreeBSD.org

21 years agoAlign the stack suitably for the version of gcc in FreeBSD-4 (provided
Bruce Evans [Sun, 29 Sep 2002 13:42:27 +0000 (13:42 +0000)]
Align the stack suitably for the version of gcc in FreeBSD-4 (provided
-fomit-frame-pointer is not used).  This is mostly moot for -current
because gcc-3 does the alignment (slightly incorrectly) in main().

This patch is intended for easy MFC'ing and should be backed out in
-current soon since it causes compiler warnings and better fixes are
possible in -current.  The best fix is to do nothing here and wait for
gcc to do stack alignment right.  gcc-3 aligns the stack in main(), but
does it too late for main()'s local variables and too late for anything
called before main().  A misaligned stack is now more than an efficiency
problem, since some SSE instructions in some or all (hardware)
implementations trap on misaligned operands even if alignment checking
is not enabled.

PR: 41528:
Submitted by: NIIMI Satoshi <sa2c@sa2c.net> (original version)
MFC after: 3 days

21 years agoAdded some buggy PC-98 PnP cards support.
Yoshihiro Takahashi [Sun, 29 Sep 2002 13:31:26 +0000 (13:31 +0000)]
Added some buggy PC-98 PnP cards support.

21 years agoRemove dead code which supported systems without O_APPEND, O_CREAT or SIGTSTP.
Tim J. Robbins [Sun, 29 Sep 2002 12:38:25 +0000 (12:38 +0000)]
Remove dead code which supported systems without O_APPEND, O_CREAT or SIGTSTP.

21 years agoFixed some of the namespace pollution in rev.1.33. <sys/systm.h> was
Bruce Evans [Sun, 29 Sep 2002 12:09:08 +0000 (12:09 +0000)]
Fixed some of the namespace pollution in rev.1.33.  <sys/systm.h> was
included here because it was once a prerequisite of <sys/mutex.h>
although that bug was fixed long ago.

21 years agoInclude <sys/systm.h> instead of depending on namespace pollution in
Bruce Evans [Sun, 29 Sep 2002 12:01:36 +0000 (12:01 +0000)]
Include <sys/systm.h> instead of depending on namespace pollution in
<net/if_var.h>.  But depend on the standard pollution in <sys/param.h>.
Removed unused includes.

21 years agoInclude <sys/systm.h> instead of depending on namespace pollution in
Bruce Evans [Sun, 29 Sep 2002 11:59:53 +0000 (11:59 +0000)]
Include <sys/systm.h> instead of depending on namespace pollution in
<net/if_var.h>.  But depend on the standard pollution in <sys/param.h>.

21 years agoMerged from sys/isa/fd.c revision 1.238.
Yoshihiro Takahashi [Sun, 29 Sep 2002 11:43:14 +0000 (11:43 +0000)]
Merged from sys/isa/fd.c revision 1.238.

21 years agoMerged from sys/dev/syscons/syscons.c revision 1.389.
Yoshihiro Takahashi [Sun, 29 Sep 2002 11:42:36 +0000 (11:42 +0000)]
Merged from sys/dev/syscons/syscons.c revision 1.389.

21 years agoMerged from sys/dev/sio/sio.c revisions 1.380 and 1.381.
Yoshihiro Takahashi [Sun, 29 Sep 2002 11:41:48 +0000 (11:41 +0000)]
Merged from sys/dev/sio/sio.c revisions 1.380 and 1.381.

21 years agoDocument 1Gbyte max memory limitation on Miata.
Wilko Bulte [Sun, 29 Sep 2002 11:40:06 +0000 (11:40 +0000)]
Document 1Gbyte max memory limitation on Miata.

21 years agoConvert the remaining callers of errmsg() to use strerror(), and remove
Tim J. Robbins [Sun, 29 Sep 2002 11:37:39 +0000 (11:37 +0000)]
Convert the remaining callers of errmsg() to use strerror(), and remove
errmsg() and its table of error messages.

21 years agoMark the signo as __unused in a lazy signal handler.
Juli Mallett [Sun, 29 Sep 2002 07:59:57 +0000 (07:59 +0000)]
Mark the signo as __unused in a lazy signal handler.

21 years agoFix style nit where conditionally compiled code was unconditionalized,
David E. O'Brien [Sun, 29 Sep 2002 04:47:41 +0000 (04:47 +0000)]
Fix style nit where conditionally compiled code was unconditionalized,
but style(9) was consulted.

Submitted by: bde

21 years agoAdd getopt_long(3).
Eric Melville [Sun, 29 Sep 2002 04:14:37 +0000 (04:14 +0000)]
Add getopt_long(3).

Obtained from: NetBSD
Sponsored by: Apple

21 years agolock proc while calling psignal
Julian Elischer [Sun, 29 Sep 2002 02:48:37 +0000 (02:48 +0000)]
lock proc while calling psignal
(plus related cleanups)

Submitted by: davidxu

21 years agoFix spurious three-space indentation in a four-space indentation file.
Juli Mallett [Sun, 29 Sep 2002 00:20:28 +0000 (00:20 +0000)]
Fix spurious three-space indentation in a four-space indentation file.

21 years agoAllow the shell preference for make(1) to be set in make.conf(5), and hopefully
Juli Mallett [Sun, 29 Sep 2002 00:09:22 +0000 (00:09 +0000)]
Allow the shell preference for make(1) to be set in make.conf(5), and hopefully
trick a few people into setting MAKE_SHELL to csh, although that can still
rebuild itself to allow them to heal the wound in their foot.

21 years agoFix ability to use csh(1) as the make(1) shell.
Juli Mallett [Sun, 29 Sep 2002 00:02:04 +0000 (00:02 +0000)]
Fix ability to use csh(1) as the make(1) shell.

Sponsored by: Bright Path Solutions

21 years agoNew translation
Sebastien Gioria [Sat, 28 Sep 2002 23:35:54 +0000 (23:35 +0000)]
New translation

21 years agoMake make(1) WARNS=6 clean except for const issues. This mostly involves
Juli Mallett [Sat, 28 Sep 2002 23:35:07 +0000 (23:35 +0000)]
Make make(1) WARNS=6 clean except for const issues.  This mostly involves
renaming variables to not shadow libc functions or greater scope locals.  Kinda
makes one wonder if the extern ones weren't meant in some of these places :)

The only thing I'd still like to do WRT this is possibly combine rstat and
status in compat.c -- that should be fine, as I do not think the codepaths
will want both around at once.

Sponsored by: Bright Path Solutions

21 years agoNew translation
Sebastien Gioria [Sat, 28 Sep 2002 23:15:58 +0000 (23:15 +0000)]
New translation

21 years agos/behaviour/behavior/ in the chmod(1) manual
Tom Rhodes [Sat, 28 Sep 2002 23:05:58 +0000 (23:05 +0000)]
s/behaviour/behavior/ in the chmod(1) manual

21 years agoDeal with some SMP races by doing the entire copyin at once rather
Peter Wemm [Sat, 28 Sep 2002 22:44:45 +0000 (22:44 +0000)]
Deal with some SMP races by doing the entire copyin at once rather
than doing the checks piecemeal and then doing a second copyin later.

PR: 38021
Submitted by: davidx (I've tweaked the patch a bit)

21 years agoContinuing MFen 1.423
Sebastien Gioria [Sat, 28 Sep 2002 22:30:47 +0000 (22:30 +0000)]
Continuing MFen 1.423

21 years agoRename "struct device" to "struct midway_device" to avoid clashing
Poul-Henning Kamp [Sat, 28 Sep 2002 21:59:59 +0000 (21:59 +0000)]
Rename "struct device" to "struct midway_device" to avoid clashing
with newbus.

21 years agoMove includ of <sys/bus_priate.h> later to get semantic identity of
Poul-Henning Kamp [Sat, 28 Sep 2002 21:38:35 +0000 (21:38 +0000)]
Move includ of <sys/bus_priate.h> later to get semantic identity of
device_t the same throughout kernel.

This is a very fine point of C which fortunatly does not make any
difference in normal circumstances but which due to the pervasiveness
of device_t in the kernel can make a lint barf a lot.

21 years agoChange a return to a break so the local buffers get properly freeed.
Poul-Henning Kamp [Sat, 28 Sep 2002 21:34:31 +0000 (21:34 +0000)]
Change a return to a break so the local buffers get properly freeed.

Spotte by: FlexeLint

Reviewed by: rwatson

21 years agos/struct dev_t */dev_t */
Poul-Henning Kamp [Sat, 28 Sep 2002 21:21:01 +0000 (21:21 +0000)]
s/struct dev_t */dev_t */

21 years agoThis driver doesn't need to include <sys/bus_private.h> either.
Poul-Henning Kamp [Sat, 28 Sep 2002 20:59:59 +0000 (20:59 +0000)]
This driver doesn't need to include <sys/bus_private.h> either.

Spotted by: FlexeLint

21 years agoDisabuse this driver of the notion that it needs to include
Poul-Henning Kamp [Sat, 28 Sep 2002 20:56:32 +0000 (20:56 +0000)]
Disabuse this driver of the notion that it needs to include
<sys/bus_private.h> to find the unit from a device_t.

Spotted by: FlexeLint

21 years agoThere is no need for start/num to be signed in i386_ldt_args.
Peter Wemm [Sat, 28 Sep 2002 20:42:04 +0000 (20:42 +0000)]
There is no need for start/num to be signed in i386_ldt_args.

21 years agoFix merge error in previous commit.
Juli Mallett [Sat, 28 Sep 2002 20:04:17 +0000 (20:04 +0000)]
Fix merge error in previous commit.

Sponsored by: Bright Path Solutions

21 years agoAdd empty default cases where they should be, remove non-local execution stuff
Juli Mallett [Sat, 28 Sep 2002 20:03:26 +0000 (20:03 +0000)]
Add empty default cases where they should be, remove non-local execution stuff
in compat.c which doesn't even have preprocessor-conditional-hidden support
code, and add a debugging statement where we might end up with a nil list
somehow, but where I doubt it.

First confirmed userland kill for Flexelint.

Sponsored by: Bright Path Solutions

21 years agoZero the local-variable mutexes before we call mtx_init() on them,
Poul-Henning Kamp [Sat, 28 Sep 2002 19:38:29 +0000 (19:38 +0000)]
Zero the local-variable mutexes before we call mtx_init() on them,
failing to do this may lead mtx_init() to belive they have already
been initialized.

Detected by: Marc Recht <marc@informatik.uni-bremen.de>

21 years agoRepair range checking for reading the ldt list.
Peter Wemm [Sat, 28 Sep 2002 19:37:54 +0000 (19:37 +0000)]
Repair range checking for reading the ldt list.

PR: 38016
Submitted by: davidx

21 years agoWe go more on MFen 1.423
Sebastien Gioria [Sat, 28 Sep 2002 19:05:34 +0000 (19:05 +0000)]
We go more on MFen 1.423

21 years agoWhen spamming me with a printf(9), under DIAGNOSTIC, at least be nice enough
Juli Mallett [Sat, 28 Sep 2002 19:04:49 +0000 (19:04 +0000)]
When spamming me with a printf(9), under DIAGNOSTIC, at least be nice enough
to include a newline.

MFC after: 4 days
Sponsored by: Bright Path Solutions

21 years agoMake P_MAGIC fit in p_magic.
Poul-Henning Kamp [Sat, 28 Sep 2002 18:48:22 +0000 (18:48 +0000)]
Make P_MAGIC fit in p_magic.

21 years agoAdd support for the BCM5702x chips.
Mitsuru IWASAKI [Sat, 28 Sep 2002 18:04:12 +0000 (18:04 +0000)]
Add support for the BCM5702x chips.

Reviewed by: jdp
MFC after: 1 week

21 years agoDon't use GCC shorthand for ?: unless it really matters.
Poul-Henning Kamp [Sat, 28 Sep 2002 17:47:51 +0000 (17:47 +0000)]
Don't use GCC shorthand for ?: unless it really matters.

21 years agoRemove unused includes.
Poul-Henning Kamp [Sat, 28 Sep 2002 17:46:30 +0000 (17:46 +0000)]
Remove unused includes.
Clarify the intention of a while();
Move a local variable to avoid potential name-confusion.

21 years agoFix mis-indent.
Poul-Henning Kamp [Sat, 28 Sep 2002 17:37:55 +0000 (17:37 +0000)]
Fix mis-indent.

21 years agoNewer Netgear MA401RA entry.
Warner Losh [Sat, 28 Sep 2002 17:36:52 +0000 (17:36 +0000)]
Newer Netgear MA401RA entry.

Submitted by: Michael Ranner

21 years agoDon't call function in return() for a void function.
Poul-Henning Kamp [Sat, 28 Sep 2002 17:36:29 +0000 (17:36 +0000)]
Don't call function in return() for a void function.

21 years agoFix an indentation problem.
Poul-Henning Kamp [Sat, 28 Sep 2002 17:34:31 +0000 (17:34 +0000)]
Fix an indentation problem.

21 years agoDon't use unnamed anonymous structs: give it a name.
Poul-Henning Kamp [Sat, 28 Sep 2002 17:33:31 +0000 (17:33 +0000)]
Don't use unnamed anonymous structs: give it a name.

21 years agoBe consistent about "static" functions: if the function is marked
Poul-Henning Kamp [Sat, 28 Sep 2002 17:15:38 +0000 (17:15 +0000)]
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too.

Inspired by:    FlexeLint warning #512

21 years agoCreate symlink for /etc/group. MAKEDEV file will use this file (group name
Makoto Matsushita [Sat, 28 Sep 2002 17:06:07 +0000 (17:06 +0000)]
Create symlink for /etc/group.  MAKEDEV file will use this file (group name
to gid conversion).

PR: 43455
Submitted by: n-kogane@syd.odn.ad.jp
X-MFC after: immediately if re@ permits, or after 4.7-RELEASE is out

21 years agoPut the casts on the right hand side of =.
Poul-Henning Kamp [Sat, 28 Sep 2002 14:17:24 +0000 (14:17 +0000)]
Put the casts on the right hand side of =.

21 years agoDon't return(foo(bla)) when foo returns void.
Poul-Henning Kamp [Sat, 28 Sep 2002 14:03:27 +0000 (14:03 +0000)]
Don't return(foo(bla)) when foo returns void.

21 years agoI misplaced a local variable yesterday.
Poul-Henning Kamp [Sat, 28 Sep 2002 13:42:04 +0000 (13:42 +0000)]
I misplaced a local variable yesterday.

21 years agoCorrectly order VI_UNLOCK(), local variables and block comment.
Poul-Henning Kamp [Sat, 28 Sep 2002 12:15:44 +0000 (12:15 +0000)]
Correctly order VI_UNLOCK(), local variables and block comment.

21 years agoStyle, whitespace and lint fixes.
Poul-Henning Kamp [Sat, 28 Sep 2002 11:57:20 +0000 (11:57 +0000)]
Style, whitespace and lint fixes.

Sponsored by: DARPA & NAI Labs.

21 years agoVoid functions cannot use return(foo) even if foo is also returning void.
Poul-Henning Kamp [Sat, 28 Sep 2002 11:43:20 +0000 (11:43 +0000)]
Void functions cannot use return(foo) even if foo is also returning void.

Sponsored by: DARPA & NAI Labs.

21 years agoFix two style problems which made FlexeLint unhappy:
Poul-Henning Kamp [Sat, 28 Sep 2002 11:28:44 +0000 (11:28 +0000)]
Fix two style problems which made FlexeLint unhappy:

Don't use zero-dimension array in struct pargs.

Comma after the last element of an enum doesn't make sense.

21 years agoRewrite the kse_create() function to better aproach the semantics we
Julian Elischer [Sat, 28 Sep 2002 08:44:31 +0000 (08:44 +0000)]
Rewrite the kse_create() function to better aproach the semantics we
have specified in the design.

21 years agoFirst confirmed kill from my Flexelint license: Check return value
Poul-Henning Kamp [Sat, 28 Sep 2002 08:16:50 +0000 (08:16 +0000)]
First confirmed kill from my Flexelint license:  Check return value
of g_clone_bio().

Detected by: http://www.gimpel.com/html/flex.htm
Sponsored by: DARPA & NAI Labs.

21 years agoRemove masking macros for getwc(), putwc(), putwchar() and getwchar().
Tim J. Robbins [Sat, 28 Sep 2002 07:43:44 +0000 (07:43 +0000)]
Remove masking macros for getwc(), putwc(), putwchar() and getwchar().
Although there was nothing wrong with getwc() and putwc(), getwchar()
and putwchar() assumed that <stdio.h> had been included before <wchar.h>,
which is not allowed by the standard.

21 years agoPlace 'completed thread anchor' in pre-zero'd secion of the KSEGRP
Julian Elischer [Sat, 28 Sep 2002 07:27:31 +0000 (07:27 +0000)]
Place 'completed thread anchor' in pre-zero'd secion of the KSEGRP
structure, not the copied section.