Commit Graph

115622 Commits

Author SHA1 Message Date
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
tsutsui
5d2194fdc0 Rename todclock_config() to todr_attach(). 2003-07-19 02:25:21 +00:00
thorpej
b41675bcc3 Add a software implementation of the iSCSI CRC32C algorithm. This
serves as an example of how the immediate value can be used by a
dmover function.
2003-07-19 02:05:35 +00:00
thorpej
a2a587d698 Add a well-known dmover function name for the CRC32C used by the iSCSI
protocol.
2003-07-19 02:03:11 +00:00
thorpej
5f35784b8a Add immediate value support for dmoverio transactions. 2003-07-19 02:00:18 +00:00
jrf
ce22377a7e This is an updated submitted patch originally written by Jim Rees
and sent in by Greg Hudson as seen in PR misc/3227. Basically what it
does is adds a flushall option which deletes all but localhost routes.
This is done by andoring in a flag called doall (1 means do all routes
including gateway, 0 means do a regular flush). I have seen some
platforms that do this. I tested it out on ipv4 only, it works as
advertised. Commit was approved by christos@.
2003-07-19 01:36:47 +00:00
nathanw
ec2c169839 pthread.c was getting a bit unwieldly. Move pthread_attr stuff out
into a new file, and put the shared private structure definition in
pthread_int.h.
2003-07-18 22:33:45 +00:00
nathanw
0172694e7d Implement a bunch of pthread_attr_() functions, which genuinely set and examine
pthread_attr_t objects, although most of the properties being set don't really
affect threads yet:

pthread_attr_{get,set}guardsize()
pthread_attr_{get,set}inheritsched()
pthread_attr_{get,set}scope()
pthread_attr_{get,set}stack()
pthread_attr_setstack{size,addr}()

Remove some useless assertions and error checks in the existing pthread_attr()
routines.

Implement pthread_attr_get_np(), to examine the attributes of an existing
thread. Idea and interface from FreeBSD.

Change PTHREAD_ERRORMODE environment variable to PTHREAD_DIAGASSERT, and
make it behave like libc's LIBC_DIAGASSERT. The way to disable error-checking
and aborting is now "PTHREAD_DIAGASSERT=AEL", rather than
"PTHREAD_ERRORMODE=ignore".
2003-07-18 22:12:30 +00:00
nathanw
067fa34e42 Add prototypes and necessary symbols for a bunch of pthread_attr_*() functions,
including (interface borrowed from FreeBSD) pthread_attr_get_np().

Remove a few limit-indicating symbols that don't actually need to be defined
(and if they did need to be defined, it would be in limits.h, not here).
2003-07-18 22:01:47 +00:00
nathanw
9e5c87057d Add strong alias for setcancelstate. 2003-07-18 21:57:26 +00:00
nathanw
a74e50ddaf #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
thorpej
950d7750f9 Document todr_attach(). 2003-07-18 21:51:30 +00:00