Commit Graph

5642 Commits

Author SHA1 Message Date
wiz
a004e52a39 Uppercase CPU; mark up NULL; remove superfluous word; simplify macro usage. 2004-01-03 13:09:44 +00:00
atatat
9cfe841137 At long last, add descriptions of new "dynamic" operations. 2004-01-03 06:06:36 +00:00
martin
ba54915063 Fix two inverted comparisions and a few comments.
This makes sparc64 pass the sigsetjmp regression tests.
2004-01-02 22:30:36 +00:00
itojun
35f883b08a KNF 2004-01-02 21:49:35 +00:00
cl
90e89977d4 - libc.so.12.109 and libpthread.so.0.4
- add ssize_t stackinfo_offset argument to sa_register syscall
- remove sa_unblockyield syscall
- make __sigprocmask14 syscall weak
- in pthread__sa_start: catch up with 4-argument sa_register syscall
2004-01-02 18:56:39 +00:00
jmmv
8ab300d124 Fix typo; from Aidan Kehoe in PR lib/23951. 2004-01-02 17:06:21 +00:00
jmmv
2fec59e8d0 Fix typo; from Aidan Kehoe in PR lib/23950. 2004-01-02 17:04:52 +00:00
martin
ce5186b58b Restore stack frames on error return. 2004-01-02 14:31:31 +00:00
martin
97ab4e62e3 Restore stack frames on error exit. This makes us pass dynamic and static
linked versions of the clonetest regression test.
While here, some cosmetics: branch prediction, avoid depreceated instructions.
2004-01-02 14:06:51 +00:00
itojun
855852a04b comment on values from 0x80000000 to 0xffffffff 2004-01-02 12:27:41 +00:00
itojun
5d489a8a2a safer realloc 2004-01-02 12:25:46 +00:00
itojun
64d2443254 safer realloc, some KNF. noted by deraadt@openbsd 2004-01-02 12:19:25 +00:00
martin
586bc581af Use CC64FSZ instead of magic constant for stack frame size.
Frob the clone's stack pointer to be BIASed - it is 64 bit code too.
Use "carry set" as test for a failed syscall.
2003-12-31 15:56:26 +00:00
martin
47923e6bf5 In case of underflow, return -0.0 or +0.0, depending on the sign of
the argument.
This makes sparc64 pass regress/lib/libc/ldexp.
2003-12-30 23:19:07 +00:00
martin
7fd2c31d41 Add support for scanf "hh" format modifiers - we use it in int_fmtio.h
for SCNd8 and friends - so we should support it properly (and not only
by pure luck on alignment blind little endian archs - it used the
"h" code path, storing a 16bit int via a byte pointer).

This makes sparc64 pass regress/lib/libc/int_fmtio.
2003-12-30 22:10:20 +00:00
martin
9f96807631 When storing data size as 32bit int in an overflow page, copy the
length to a temporary u_int32_t variable and memmove from there to the
final destination - instead of copying the first four 0 bytes from a
64bit variable directly on big endian 64 bit platforms.

This makes sparc64 pass regress/lib/libc/db.
2003-12-30 21:20:16 +00:00
yamt
9a4bbff85d _citrus_iconv_std_iconv_convert:
- allow 0 byte input.  PR/23889 (Valeriy E. Ushakov)
- remove redundant E2BIG check, which should be done by
  each encoding modules anyway.
2003-12-29 18:05:01 +00:00
yamt
95a5e260a9 _citrus_MSKanji_wcrtomb_priv: return E2BIG correctly. 2003-12-29 17:59:03 +00:00
yamt
556685e5a3 _citrus_NONE_stdenc_cstomb: return E2BIG correctly. 2003-12-29 17:49:22 +00:00
wiz
08f5fb02e9 Remove sentence about this being an alpha
version -- after twelve years it is at least beta ;)
The BUGS section is extensive enough even without it.
2003-12-29 17:36:12 +00:00
wiz
d46bc94200 Niels Provos kindly agreed to drop clauses 3 and 4 from the
license -- thanks.
Based on OpenBSD commit and hints by itojun.
2003-12-26 19:04:55 +00:00
simonb
f9f4341a9f Don't ever add a ".0" to a single digit number.
XXX: Should (for example) 1024 be 1.0K or 1K when the HN_DECIMAL flag
     is passed?  Should there be a separate option that says "use the
     HN_DECIMAL behaviour unless we are exactly equal to the suffix"?
2003-12-26 11:30:36 +00:00
martin
903622333a Use an unsigned comparison against minbrk.
From Steve Woodford, inspired by a similar change to other archs from
OpenBSD.
2003-12-26 11:23:44 +00:00
martin
269c3e3d2b Use an unsigned comparison against minbrk.
From OpenBSD, changed by Miod Vallat.
2003-12-26 11:21:48 +00:00
kleink
a2c17b5c1e One merge-o missed in previous. 2003-12-20 00:21:00 +00:00
kleink
84a2a5ca6e Merge tzcode2003e. 2003-12-20 00:12:05 +00:00
kleink
b717391e1a Note: the previous revision was an update for tzcode2003_e_. 2003-12-19 23:52:44 +00:00
kleink
4a2741cba1 Update for tzcode2003d. 2003-12-19 22:25:42 +00:00
wiz
ef1b175332 Bump date for previous (hi christos!). 2003-12-17 23:04:33 +00:00
christos
4c4fa74153 Say what happens with pgrp == 0. 2003-12-17 21:05:30 +00:00
lukem
a8c35a134f remove superfluous assignment 2003-12-14 23:56:28 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
itojun
c81f32fe6c comment from niels provos;
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x".
- skipping number is not needed, so disable it for 16bit generator (makes
  the repetition period to 30000)
2003-12-10 05:22:18 +00:00
grant
9510307938 simplify a sentence 2003-12-09 21:40:54 +00:00
augustss
af68367011 Reference kfilter_register(9) rather than the non-existent kfilter_register(2). 2003-12-09 19:49:53 +00:00
wiz
02f06f3790 Bump date for previous (hi andrew!). 2003-12-09 16:00:40 +00:00
atatat
31f1dc4a27 Update man page to correct PROC_* names (addresses PR lib/23645) and
also describe the new PROC_PID_STOPEXIT variable.

Man page still not updated to include new features.  I'm still working
on that.
2003-12-09 01:39:03 +00:00
matt
aa6e9c56c3 Make this compile on non-IEEE GCC3 targets (aka VAX). 2003-12-08 06:18:16 +00:00
grant
1492b0bcb0 "int flags" is correct in the prototype, but not in the English
language. s/int/in/
2003-12-08 00:55:57 +00:00
matt
3c12447a00 Make building IPv6 support controllable by MKINET6 2003-12-07 21:57:22 +00:00
scw
29b106093d Swap WEAK_ALIAS args to how they should be. 2003-12-07 19:37:23 +00:00
keihan
c9c20433ad Revert last change, as this is a 3rd-party file, noted by kleink@. 2003-12-05 06:56:19 +00:00
uebayasi
0b30fd3d69 Spaces. 2003-12-05 00:57:36 +00:00
keihan
39d96c1f34 netbsd.org -> NetBSD.org
NetBSD.ORG -> NetBSD.org

Now src/lib is done.
2003-12-04 23:39:18 +00:00
atatat
6fc962bc06 oops 2003-12-04 19:45:19 +00:00
atatat
93375edaa0 Bump for sysctl() update 2003-12-04 19:42:32 +00:00
atatat
fcc5d1a731 Adapt userland sysctl goop to new world order, permitting dynamic
discovery.
2003-12-04 19:40:55 +00:00
lukem
97f5444c8a MAKEVERBOSE tweaks 2003-12-04 01:02:44 +00:00
jdolecek
b02f563aeb improve random number generation by using largest 31-bit prime
as denominator; regenerate the randtbl[] with new generator

patch provided in lib/22853 by KIHARA Hideto; code actually present
in libkern/random.c since 1994/06/03

matches similar change done in glibc in 1995, and FreeBSD & OpenBSD in 1996
2003-11-26 20:44:40 +00:00
he
ea56bcee84 Hide the register number constants behind an _R_ prefix, and also
rename FPBASE to _FPBASE, so that we avoid polluting the user's
name space when e.g. <sys/ptrace.h> is included.  Previously, the
PC symbol in mips/regnum.h would conflict with the declaration of
the external variable by the same name in termcap.h, as discovered
by the ``okheaders'' regression test.
2003-11-26 08:36:49 +00:00