Commit Graph

94295 Commits

Author SHA1 Message Date
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
yamt
40d05511db bump minor to 83: i18n module changes. 2002-03-18 09:58:18 +00:00
yamt
4112ebb394 set errno only when error occured. 2002-03-18 09:56:49 +00:00
yamt
d9660875a9 move definition of _citrus_ctype_default out of #ifdef _I18N_DYNAMIC
as it's used by static binaries.
2002-03-18 09:02:50 +00:00
yamt
4ac8cfbb1d don't check variable s0 before assign. 2002-03-18 08:56:32 +00:00
tshiozak
8e7efd7c05 add manpages for mb*/wc* functions. 2002-03-18 08:27:53 +00:00
pk
e962f03d24 JobInterrupt(): don't try to unlink JOIN or PHONY targets. 2002-03-18 08:23:33 +00:00
oki
e60e94456a emul_netbsd is no longer used in exec_pecoff. 2002-03-18 08:16:08 +00:00
yamt
1d869db224 make mbsrtowcs work.(fix a typo) 2002-03-18 08:09:28 +00:00
wiz
8d3b0e0097 Use .St -isoC99 to refer to ISO C99. 2002-03-18 08:03:39 +00:00
wiz
68dbdc566f HTML-quote another <> pair. 2002-03-18 08:02:19 +00:00
wiz
9f64fab4a1 Fix .Dd argument, sort SEE ALSO, remove trailing dot in SEE ALSO,
HTML-quote <>, and fix some typos.
2002-03-18 07:56:28 +00:00
pk
fe31442363 Remove bogons from JobMatchShell() 2002-03-18 07:54:33 +00:00