Commit Graph

94070 Commits

Author SHA1 Message Date
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
oki 075769476a Use /emul/pecoff as prefix to run PE/COFF binaries. 2002-03-18 07:11:06 +00:00
tshiozak 8625ada82c add manpages for mb*/wc* functions. 2002-03-18 06:00:26 +00:00
tshiozak d1902c2111 fix a bug; calling mbtowc(0, 0, 0) causes the programs to crash under
single byte locales.
2002-03-18 05:50:25 +00:00
dbj f0658bdada make compile with _STANDALONE 2002-03-18 05:10:58 +00:00
briggs a2e0bd5a5d Use p->p_psstr instead of PS_STRINGS.
Tested on boot to multi-user on sandpoint.
2002-03-18 04:50:32 +00:00
lukem a92372d6b7 add empty image_md_post rule so ports that don't provide one won't barf 2002-03-18 04:08:47 +00:00
simonb 91785659ba Generic PCI/ISA machdep headers for mips; copied from the algor port. 2002-03-18 03:08:09 +00:00
simonb 99f891c74d Use mips/mips/bus_dma.c. 2002-03-18 02:33:19 +00:00
simonb 7e2ca5e1a8 Copy the algor bus_dma.c for use as a generic bus_dma implementation for
other MIPS ports.
2002-03-18 02:32:54 +00:00
simonb 9690c2293e Convert to use <mips/bus_*.h>. 2002-03-18 01:21:11 +00:00
simonb e64d2d9708 Oops, balance #ifdef/#endif _KERNEL. 2002-03-18 01:01:54 +00:00
enami 70a09aaf5d Make this file compiles again when AURATECONV > 0. 2002-03-18 00:42:36 +00:00
simonb d9aac5ef07 Add generic MIPS bus_space and bus_dma headers; these are a straight
split of the algor <machine/bus.h>.
2002-03-18 00:32:21 +00:00
mjl 72cfdcede0 Normalize BC year format, correct a few typos, remove duplicate Descartes.
Partly from FreeBSD.
2002-03-18 00:05:34 +00:00
chs 79c365e60e don't do any flush-behind for async mounts.
this matches the traditional behaviour.
2002-03-17 23:58:09 +00:00
nonaka 85b957a2b0 Already MBR_PTYPE_PREP is defined in sys/disklabel_mbr.h. 2002-03-17 23:45:57 +00:00
christos 18c7399ada oops, forgot to commit the caller of exithook... 2002-03-17 23:41:30 +00:00
christos c36bd4f4e1 more typo. 2002-03-17 23:36:08 +00:00
christos 6b17a26b35 fix typo. 2002-03-17 23:29:55 +00:00
christos c29f982413 move aurateconv.h into audiovar.h to avoid name clash with the config(8)
aurateconv.h counter.
2002-03-17 23:22:05 +00:00
lukem 71a6f6b575 If we're going to use DISTRIB(REV|VER) in generated files, have those files
depend upon osrelease.sh.  Issue raised by Havard Eidnes.
2002-03-17 22:30:31 +00:00
christos 14eaffb49d use the exithook mechanism to remove the exiting process from the list
of processes to be signalled in a soft mount.
2002-03-17 22:22:39 +00:00
christos 22839acdb9 use the exithook mechanism to clean up semaphores. 2002-03-17 22:21:58 +00:00
christos f7d98e2451 - merge all the hook insertion and deletion code so that we don't create
a fourth copy.
- add exithook to be executed when a process exits.
2002-03-17 22:19:20 +00:00
tshiozak dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00