Commit Graph

94107 Commits

Author SHA1 Message Date
mjl f60ca83e0c strncpy() -> strlcpy() 2002-03-18 23:34:21 +00:00
martin af693ebcf6 Wakeup sleeping processes when the ISDN connection gets established
or disestablished. Hint from Matthias Drochner.
2002-03-18 23:28:03 +00:00
tshiozak f4b38752de Move mbstate_t materials from locale/runetype.h to locale/multibyte.h.
Before this fix, building nbmklocale was failed on non-NetBSD-current platforms.
multibyte.h seems more appropriate one to contain them.
2002-03-18 22:58:44 +00:00
thorpej 09a6f546a3 PS_STRINGS -> p->p_psstr 2002-03-18 22:57:53 +00:00
martin e8921b2f97 Fix typo in the local sockets permission mask.
Noted by Matthias Drochner.
2002-03-18 22:49:57 +00:00
briggs 47c8167bc7 Fix typo: ISDNCTL -> NISDNCTL. 2002-03-18 22:46:57 +00:00
yamt 69fa98c2af explicitly align _RuneStatePriv::__private
and remove XXX comment.
2002-03-18 22:25:43 +00:00
bjh21 e637cd6c16 PS_STRINGS -> p->p_psstr 2002-03-18 22:21:25 +00:00
martin b07c2da1c9 Fix an uninitialized use of a variable by removing it completely. 2002-03-18 22:15:28 +00:00
bjh21 6a7bb64ae1 We don't seem to need abort() any more -- presumably GCC is no longer
generating calls to it.
2002-03-18 21:14:34 +00:00
bjh21 f9a48a09ad Turn on DEFAULT_SHORT_ENUMS, since this will be required by the ARM EABI-2001,
which we'd like to comply with.
2002-03-18 20:36:51 +00:00
manu af187fe983 Added swapctl SC_ADD, SC_REMOVE and SC_SGIADD commands. 2002-03-18 20:34:54 +00:00
bjh21 913037a61e When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:26:50 +00:00
bjh21 ad4b72abb9 Check isc_result_t values with != ISC_R_SUCCESS, rather than < 0.
Suggested by Ted Lemon, but not yet in an ISC DHCP release.
This is necessary to avoid warning with -fshort-enums.
2002-03-18 20:25:58 +00:00
bjh21 76b77c2c35 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:16:49 +00:00
thorpej f98e5b2d99 Deal with const'ification if el_parse(). 2002-03-18 20:14:03 +00:00
bjh21 6047cf765e Another change from 3.0.1rc7:
- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases.

This is required to allow some -fshort-enums warnings to be fixed.
2002-03-18 20:13:53 +00:00
thorpej 26ba84d1e5 Cast 3rd arg to el_parse() to deal with const'ification of
libedit.
2002-03-18 20:04:49 +00:00
bjh21 a4f14f6e11 Pull down change from 3.0.1rc7:
- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token.

This is required to eliminate a warning with -fshort-enums.
2002-03-18 19:54:11 +00:00
bjh21 24460e83d2 Actually use the 8003 patch joda applied upstream, rather than the one I sent
him (oops).
2002-03-18 19:16:04 +00:00
bjh21 4284d720b1 CKSUMTYPE needs to include 0x8003, since some things use that.
Approved by joda and committed upstream.
2002-03-18 19:07:49 +00:00
wiz 545f04563b Sort sections. 2002-03-18 18:59:57 +00:00
bjh21 6ee155e761 We never set MACHINE_ARCH to "arm26" so remove the MACHINE_GNU_ARCH mapping
for it.
2002-03-18 18:42:52 +00:00
manu a8db9077cd Uses the recently introduced uvm_swap_stats() instead of
sys_swapctl(SWAP_STATS). This enable the use of a kernel based
buffer instead of using some temporary memory in the stackgap,
whereas we cannot make sure that the size os the struct swapent array
will fit in it. (it is not known at build time, but the stackgap len
is set at build time).
2002-03-18 17:21:24 +00:00
manu 1c1ef56eed Cosmetic change (lines longer than 80 car) 2002-03-18 17:18:28 +00:00
christos 537c311b66 Update the documentation for the pms driver. From Peter Seebach. 2002-03-18 17:14:14 +00:00
itojun 7ffd9429a4 s/PS_STRINGS/p->p_psstr/, as requested by christos 2002-03-18 17:00:20 +00:00
christos b2b9c150ac Add a couple linted comment and enable WARNS=3 2002-03-18 16:20:36 +00:00
christos aef033dfd3 oops, we need config.h now. 2002-03-18 16:19:03 +00:00
christos 0e0ac6b723 - constify; passes all gcc and lint strict checks.
- add config.h [Jason Evans], to create a portable version of libedit that
  can be easily compiled on other OS's.
2002-03-18 16:00:50 +00:00
tsutsui ac992d6bf7 Remove pwd_mkdb stuff since /etc/passwd file is not needed for install media.
Pointed out by lukem.
2002-03-18 15:30:55 +00:00
itojun f3279050b2 esp/ah_ctlinput: pass useful address to key_alloc. 2002-03-18 15:30:03 +00:00
tv 90f4347de8 Make sure USETOOLS value is propagated (for USETOOLS?=no case in each
kernel Makefile).  Perhaps we should .include this file earlier....
2002-03-18 15:20:08 +00:00
uch 9b5ad836c6 include sys/queue.h. 2002-03-18 14:35:20 +00:00
kent a340d0e8ea Create new uaudio_chan_init() and move sample_size/bytes_per_frame
initialization to it from uaudio_chan_set_param().  uaudio_set_params()
calls uaudio_chan_init().
These are required because bytes_per_frame is used in
uaudio_round_blocksize(), which is called before uaudio_set_params().

Noise of 4ch playing disappears by this change.  6ch playing still has
cyclic noise.
2002-03-18 14:06:08 +00:00
christos 8b264dc99c regen 2002-03-18 14:01:31 +00:00
christos 57a22d5790 Add Siemens speedstream, from Alicia da Conceicao. 2002-03-18 14:01:02 +00:00
wiz 358ed3f6d4 Fix a typo, a KNF-nit, and simplify a printf format string. 2002-03-18 13:38:52 +00:00
pk 48f5b2bd9d Fix some of the syntax errors (in unused code) and layout glitches. 2002-03-18 13:32:36 +00:00
pk b9f8785382 Block signals during Lst_Open/Lst_Close list traverals and in JobExec
while setting up a child process. This prevents the major sources of
list inconsistencies that may result from doing list manipulations
from a signal handler.

XXX - all Lst_*() operations are at risk; look for ways to avoid touching
so much global state from the signal handlers.
2002-03-18 13:28:25 +00:00
christos df95562a0f goodbye PS_STRINGS 2002-03-18 13:27:02 +00:00
pk f41ec821b9 Fix signal-handling bogons in JobPassSig():
- don't block the signal we're about to send to ourselves to
	  take the default action for
	- restore the signal handler for the current signal
	- remove duplicate sigprocmask() call

As a result, restoring the SIGTSTP handler in JobContinueSig() is no longer
necessary.
2002-03-18 12:28:07 +00:00
yamt 597ba8fdc1 - check malloc failure.
- only 'next' member of global variable localetable is used.
  so remove it and define a pointer instead.
2002-03-18 11:49:19 +00:00
manu 2debbde786 Move swapctl(SWAP_STATS) implementation to a separate function called
uvm_swap_stats(). This is done in order to allow COMPAT_* swapctl()
emulation to use it directly without going through sys_swapctl().

The problem with using sys_swapctl() there is that it involves
copying the swapent array to the stackgap, and this array's size
is not known at build time. Hence it would not be possible to
 ensure it would fit in the stackgap in any case.
2002-03-18 11:43:01 +00:00
yamt 6c2e3b3d83 fix how to check a return value of readentry. 2002-03-18 11:34:40 +00:00
simonb 9fe34c6901 Fix comments after endian selection includes(!). 2002-03-18 11:11:30 +00:00
yamt c87321b3bf remove unneeded ARGSUSED. 2002-03-18 10:52:55 +00:00
simonb 00e905ce64 Use <mips/isa_machdep.h> and <mips/pci_machdep.h>. 2002-03-18 10:10:14 +00:00
yamt bce8f1fcdb bump libc minor to 83. 2002-03-18 10:02:50 +00:00
yamt a8bb4f07ee don't set errno here. caller will set it. 2002-03-18 10:01:12 +00:00