Commit Graph

8742 Commits

Author SHA1 Message Date
fvdl
4e8e6f8ceb Don't compare an int to NULL. 2003-10-21 01:10:47 +00:00
fvdl
bada5458de Don't use NULL to compare against an int. 2003-10-21 00:55:05 +00:00
fvdl
03831599c1 The last argument to sysctl is a size_t, not a pointer; don't pass NULL. 2003-10-21 00:47:46 +00:00
fvdl
3144ca7d6b Don't compare a char to NULL. 2003-10-21 00:30:05 +00:00
fvdl
f8ba2b4d70 Don't compare an int against NULL. 2003-10-21 00:25:21 +00:00
fvdl
79cc88df48 Don't use NULL to compare against an int. 2003-10-21 00:16:55 +00:00
fvdl
b279ed6377 Don't compare NULL against a character. 2003-10-21 00:07:17 +00:00
fvdl
bc018099a2 Don't use NULL to compare against a char. 2003-10-21 00:03:47 +00:00
fvdl
39d7a2e359 Don't use NULL to compare against a character. 2003-10-21 00:00:34 +00:00
fvdl
c2405107f1 Correct and simplify computing the return point; just use PC-relative
addressing.
2003-10-20 14:50:18 +00:00
fvdl
b30e737545 Make sure the stack stays aligned. 2003-10-19 21:45:03 +00:00
christos
52215a07e7 add rl_catch_signals 2003-10-19 06:28:35 +00:00
wiz
2af5f10bcc Bump date for previous. 2003-10-19 01:26:11 +00:00
christos
6e782349a3 change allocation policy in el_push to allocate the string itself.
fix issues with strdup.
2003-10-18 23:48:42 +00:00
christos
acc8915b44 make forward incremental search work better. 2003-10-18 23:27:36 +00:00
fvdl
9f7abac970 Use the int 0x80 path for context system calls. 2003-10-18 22:47:37 +00:00
christos
e7c6d717ff remove debugging printf. 2003-10-18 22:37:24 +00:00
christos
730f23e551 Allow setty to set chars using char=value 2003-10-18 22:24:34 +00:00
briggs
7931285ae1 Need a couple more headers for the last change. 2003-10-18 20:11:04 +00:00
briggs
6646629469 Sync with the i386 version. 2003-10-18 18:36:35 +00:00
christos
f57e3e8f0a sync with the x86 one. 2003-10-18 18:33:51 +00:00
christos
c4990e5532 Userland portion of SIGTRAMP_VALID() commit. 2003-10-18 18:16:23 +00:00
wiz
449cf546df Link curses_cursor(3) to getmaxyx(3); from Steve Rumble in PR 23183. 2003-10-18 09:08:46 +00:00
wiz
6f0dbbbf08 mvgetstr and mvwgetstr do not have a limit argument; from Steve Rumble in PR 23183. 2003-10-18 09:06:49 +00:00
christos
7bd301151f When searching backwards don't include the characters after the cursor in
the search.
2003-10-17 18:49:11 +00:00
fvdl
2b9ab2aab8 Get ucontext pointer back out of callee-saved register %r15. 2003-10-17 16:23:20 +00:00
wiz
432d3289ba Bump date for previous. Replace > with \*[Gt]. 2003-10-17 15:33:23 +00:00
christos
5d79eff8f5 More libedit readline emulation functions from: Gerry Swislow
<gerry at certif dot com>
2003-10-16 22:26:32 +00:00
christos
99e15c71d0 I got tired of typing a cc line. 2003-10-16 21:41:46 +00:00
christos
a246b45de2 Fix incremental search which was badly busted. 2003-10-16 21:41:26 +00:00
yamt
5cd18e71cc in pthread__deliver_signal(),
copy siginfo_t into the stack of the target thread
rather than relying on the luck that on-stack siginfo_t stay valid.
2003-10-16 13:38:28 +00:00
wiz
58cc8234ca Slight improvements. 2003-10-15 20:04:48 +00:00
wiz
910124a085 Make the plural of X' X's instead of `Xs'.
Following a suggestion from jmc@openbsd.
2003-10-15 19:44:51 +00:00
christos
378865a426 don't limit ^c to alpha c, and add VIS_NOSLASH so that vis(3) does not
produce \^c
2003-10-15 18:08:40 +00:00
wiz
538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
christos
e752a6f68a PR/23158: Johan Danielsson: Portable usage of the mk*temp() functions requires
six `X's.
2003-10-14 14:29:46 +00:00
yamt
faf00d99a2 don't use uninitialized variable ('chlenbak').
the problem reported by Markus Illenseer on tech-userlevel@
and analyzed by enami tsugutomo.
2003-10-14 12:50:03 +00:00
scw
789335a49c Xscale-optimised mem* routines. Contributed by Wasabi Systems.
(Note: memcmp/memset improvements also benefit non-Xscale).

memcmp()  - Compare 32-bits at a time if possible. Special-case 6-byte
            comparisons, for the benefit of the network stack.

memset()  - More loop unrolling, plus use of 'strd' instruction,
bzero()     results in > 100% speedup on Xscale.

memcpy()  - Big-endian support, unrolled loops, 'strd/pld', plus special-
            cases for very common length/alignment combinations.
            Benchmarks show ~50% improvment on Xscale.

memmove() - Big-endian support. Use fast memcpy(), above, if the regions
bcopy()     don't overlap. Otherwise unchanged

XXX: The Xscale optimisations are not enabled by default, unless /etc/mk.conf
XXX: has the right compiler options. The intention is to pull them in via
XXX: something like libxscale.so, selected at runtime by ld.so.conf.
XXX: (Big-endian support is not affected by this).
2003-10-14 07:51:45 +00:00
wiz
8295081a25 & -> \*[Am]; mark up FD_SETSIZE; bump date for previous. 2003-10-14 07:44:43 +00:00
itojun
5435c421a0 note that programs that use rpc(3) cannot bump FD_SETSIZE. 2003-10-14 07:08:45 +00:00
agc
9f1aac5bb3 Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause.  Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
agc
b2b49933f4 Move Matt Green's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
agc
ed6ed8e698 Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
pk
f70031fee9 SIGINFO __sigaction & trampoline code. 2003-10-12 14:42:03 +00:00
christos
7152fa1070 use matt's powerpc implementation. It is simpler than mine, and it does
matter as far as performance goes.
2003-10-12 04:23:17 +00:00
chs
f58c80fc8f fix typo in previous. 2003-10-12 00:25:25 +00:00
provos
36a965e899 fix a bad realloc; from awohl@chessclub 2003-10-11 18:30:09 +00:00
enami
f431b58f2b Back out rev. 1.56; `pointer points the byte just after the valid region'
is normal case.  If the parser wants something more, there should be
another bounds check for it.
2003-10-11 03:35:42 +00:00
simonb
62887f0740 Remove another unneeded cast to size_t.
Pointed out by Anil Madhavapeddy in private email.
2003-10-10 05:38:45 +00:00
ichiro
c9be9cafc5 dont use __ARMEB__
It changed so that it might distinguish by BYTE_ORDER
2003-10-09 09:44:25 +00:00