Commit Graph

115183 Commits

Author SHA1 Message Date
tshiozak
7264d9073d add new locales: bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:30:33 +00:00
hannken
879ba21504 Typo: __HAVE_BITENDIAN_BITOPS -> __HAVE_BIGENDIAN_BITOPS 2003-07-21 16:10:50 +00:00
skrll
ddc9322f3b Support immediate binding on arm. 2003-07-21 15:34:35 +00:00
skrll
b2695e5a1f arm and sh5 also have bogus DT_TEXTRELs. sh5 was already covered so just
update the comment.
2003-07-21 15:17:55 +00:00
agc
8a3e64ceb9 Fix a tyop - we want the readlink binary and manual pages when HOSTPROG
is not defined.
2003-07-21 10:16:55 +00:00
jdolecek
98a5f82f01 add rnd hooks 2003-07-21 08:38:56 +00:00
thorpej
31ede4a9e3 Pull in host-tool config.h, if necessary. 2003-07-21 07:10:28 +00:00
itojun
074166110c permit bind(2) to broadcast address, as it was permitted before.
(for instance, "ntpd -b" was broken since revision 1.82)
found report on http://pc.2ch.net/unix
2003-07-21 07:02:35 +00:00
igy
fcd9e244be Delaying to mask interrupt by hardware until actually it occurs.
The new code maintains two variables 'current_spl_level' and
'hardware_spl_level'.  Variable hardware_spl_level reflects actual
priority level at the hardware's point of view.  hardware_spl_level is
always synchronized to hardware.

splraise() just increases current_spl_level.  splx() sets
current_spl_level.  If (and only if) hardware_spl_level and
current_spl_level is not same, splx() synchronizes interrupt mask
register and hardware_spl_level to current_spl_level.

In most case, splraise() raises current_spl_level and splx() restores
only current_spl_level.

When an interrupt occurs, hardware_spl_level and interrupt mask
register are synchronized to current_spl_level.

In this implementation, during a higher priority interrupt handler is
running, lower priority interrupts never cause intr_dispatch() to run.
It will avoid some race condition.
2003-07-21 06:17:32 +00:00
thorpej
06d939d5ed Include sysmon earlier. 2003-07-21 05:35:49 +00:00
itojun
25ad1ea430 UPPORT_UTMP{,X} outside of .if KERBEROS. PR 22202 2003-07-21 03:37:43 +00:00
lukem
aac682b31f tweak how postinstall-fix-obsolete is made. (may fix various problem reports) 2003-07-21 02:01:42 +00:00
mrg
dd10ebe3f2 fix a now-wrong comment. 2003-07-21 00:55:59 +00:00
mrg
e312c82e5f minor consistency nit 2003-07-21 00:55:40 +00:00
mrg
79eaf7449f de-__P()ify. 2003-07-21 00:54:43 +00:00
tshiozak
6c85e3334a add KOI8-U encoding support for iconv. 2003-07-20 19:26:55 +00:00
hannken
bbf46d4085 Add support for i855 agp. From FreeBSD.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-07-20 18:56:32 +00:00
itojun
0445f65670 avoid assuming result buffer size in AH logic. sync w/kame 2003-07-20 18:01:41 +00:00
itojun
92a1800c4d due to previous type change, sav->schedlen never go negative. sync w/kame 2003-07-20 17:17:20 +00:00
lukem
b6bdfc6774 Consistently support the different C++ file extensions: .cc .cpp .cxx .C
Noted by Andrew White in PR toolchain/18246
2003-07-20 17:01:58 +00:00
he
80ccb5520c As a temporary workaround, apply the fix from PR#20390, thereby
cooperating with the callout code in working around the race
condition caused by the TCP code's use of the callout facility.

Instead of unconditionally releasing memory in tcp_close() and
SYN_CACHE_PUT(), check whether any of the related callout handlers
are about to be invoked (but have not yet done callout_ack()), and
if so, just mark the associated data structure (tcpcb or syn cache
entry) as "dead", and test for this (and release storage) in the
callout handler functions.
2003-07-20 16:35:07 +00:00
he
ddef043b97 Temporarily introduce CALLOUT_INVOKING, callout_invoking() and callout_ack()
to make users of the callout facility able to cooperate to work around the
race caused by the callout code lowering interrupt priority level when
invoking callout handlers, something which allows other code to run before
the callout handler gets to it's spl*() call.

This is to enable the workaround for the TCP code found in PR#20390 to be
applied.

This should be backed out once a more comprehensive fix can be put in
place.
2003-07-20 16:25:57 +00:00
lukem
0f7d7b4fad Use ltarg=stat -qf '%Y' $l to read a symlink's target (and rely upon
a non-zero exit value to indicate a missing file or non-symlink),
instead of   test -h $l && ltarg=`ls -ld $l | awk '{print $NF}'`
since the former is quicker and more concise.
2003-07-20 15:02:10 +00:00
lukem
14fc1c5b77 <bsd.init.mk> is a good idea 2003-07-20 14:53:10 +00:00
lukem
a36d55e898 LINKS: use stat -qf '%d %i' $l to read the device & inode # of the source
and target (and rely upon a non-zero exit value to indicate a missing file),
instead instead of unconditionally installing the link.

SYMLINKS: use   stat -qf '%Y' $l   to read a symlink's target (and rely upon
a non-zero exit value to indicate a missing file or non-symlink),
instead of   test -h $l && ls -ld $l | awk '{print $NF}'    , since
the former is quicker and more concise.

This resolves PR toolchain/16885 from David Laight.
2003-07-20 14:49:44 +00:00
lukem
65668567d3 add TOOL_STAT for stat(1) 2003-07-20 14:36:12 +00:00
lukem
758ffcd440 more reordering 2003-07-20 14:27:57 +00:00
jmmv
7efaf55594 Add the EXIT STATUS section header. 2003-07-20 14:20:34 +00:00
lukem
5885a35ae3 first attempt at making this a HOSTPROG 2003-07-20 14:12:13 +00:00
lukem
fe7ef256ea add stat(1) as a host tool 2003-07-20 14:06:32 +00:00
lukem
83f3fb1e14 redo previous (functionality rollback of 1.213) to retain the style of 1.213 2003-07-20 13:08:43 +00:00
wiz
621fbc6bf8 Undo revision 1.213 now that grotty is fixed. Tested by lukem, thanks! 2003-07-20 13:03:47 +00:00
wiz
fade40fe67 Add patch from groff repository:
revision 1.5
date: 2003/07/18 07:00:47;  author: wlemb;  state: Exp;  lines: +38 -21

Don't ignore grotty's command line options if \X'tty: sgr ...' is
used to change the drawing scheme.

* src/devives/grotty/tty.cpp (bold_flag_option,
underline_flag_option, italic_flag_option, reverse_flag_option,
bold_underline_mode_option): New global variables.
(update_options): New function.
(tty_printer::special): Call update_options.
(main): Don't set xxx_flag but xxx_flag_option, then call
update_options.
2003-07-20 13:01:08 +00:00
lukem
833a10cf56 * set & export LC_ALL=C, so that end-user use of non `C' LC_COLLATE locales
won't cause expressions such as `echo [0-9a-z]*` to match "CVS"
* add getmakeenv(var, value), and use appropriatly.
2003-07-20 09:26:49 +00:00
lukem
951db66861 add nls(7) environment variables 2003-07-20 08:13:52 +00:00
reinoud
4080bf9381 First step towards more KNF; but most of all hopefully solving PR
acorn32/15850
2003-07-20 07:08:45 +00:00
itojun
d1931d3717 change ESP xx_schedlen() return type to size_t. sync w/kame 2003-07-20 03:24:03 +00:00
lukem
aab62ed1ca Don't attempt to unput(EOF).
According to lex(1) (the manual page for flex, which is what we use for lex):
	Finally, note that you cannot put back EOF to attempt to mark the
	input stream with an end-of-file.

Fixes PR bin/8707, which had been reclassified as a toolchain bug.
2003-07-20 03:14:40 +00:00
tsutsui
bf6ea868f8 Create ${MACHINE_ARCH} symlink as well for stand progs. 2003-07-20 02:38:43 +00:00
lukem
514fc67c71 protect __RCSID() as this is a host tool. noted in PR 22074 by Julian C. Dunn 2003-07-20 01:09:07 +00:00
abs
ef8e75ce98 Make net_namesvr6 extern again to fix compilation if INET6 is defined. 2003-07-19 22:07:36 +00:00
tshiozak
173e5850f7 - add converter for EUC-JP-MS.
- apply MS conversion rule to JISX0208 part of CP932.
c.f.:
  http://www.opengroup.or.jp/jvc/cde/ucs-conv-e.html
2003-07-19 20:20:39 +00:00
tsutsui
aa0eea7974 In softintr_dispatch(), clear ssir bit before calling softintr handlers
with a single_inst op, otherwise sometimes softintr might be lost.
2003-07-19 16:06:27 +00:00
tsutsui
1fe335b800 Allow bus_space_map(9) to map DIO address which is not page aligned.
(required by MI com(4) driver support for 98644A DCA serial)
2003-07-19 16:02:06 +00:00
simonb
9853da3d35 Remove an unused variable. 2003-07-19 08:20:22 +00:00
mrg
2512e501f0 note -z is an extention. 2003-07-19 05:43:54 +00:00
nathanw
d3ebb21ecd Use threadlib stub rather than pthread_setcancelstate() directly. 2003-07-19 05:06:16 +00:00
nathanw
ddd6fd5414 Add setcancelstate stub. 2003-07-19 05:05:28 +00:00
lukem
457546793c change multiple include protection #define to match filename 2003-07-19 04:52:18 +00:00
tsutsui
7d2ff25d49 Rename clockattach() to todr_attach(). 2003-07-19 02:39:27 +00:00