Commit Graph

7863 Commits

Author SHA1 Message Date
joerg
d6e219476b Add a fast, platform independent hash function to libc.
The algorithm used is the Jenkins hash.  The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.

Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
pooka
c6181c7b2f Re-add explanation of how to correctly use realloc. 2009-07-20 12:10:03 +00:00
dsl
6dffe8d42b Remove references to index.c and rindex.c (strchr.c and strrchr.c
now provide the definitions).
2009-07-18 09:44:30 +00:00
dsl
32b43c9199 Remove index() and rindex() from the list (in comment) 2009-07-18 09:41:23 +00:00
dsl
03c902aa70 Change all archs so that strchr.[cS] and strrchr.[cS] exist and generate
duplicate symbols for index() and rindex().
libc and kernel build ok for affected archs (i386, amd64, vax, sun3,
evbmips-eb) all seem ok.
(vax might lose an asm index() - but comments imply it is worse than the C)
2009-07-17 19:37:54 +00:00
roy
6c5916565e Allow a buffer of SSIZE_MAX + 1 as the returned bytes do not include the NULL. 2009-07-14 18:29:41 +00:00
christos
cfef64a1a4 pass lint 2009-07-14 17:04:32 +00:00
wiz
9400935da7 Fix typo added in previous. 2009-07-13 22:31:59 +00:00
wiz
06601ed792 The character is NUL, the pointer is NULL.
Fix a typo.
It's \-1, not -1.
Add "and getline" in a few places.
Add comma in enumeration.
No dot needed in SEE ALSO.
End sentence with a dot.
2009-07-13 22:30:52 +00:00
roy
d4a3cf6a5a Add implementations for getdelim(3) and getline(3). 2009-07-13 22:19:24 +00:00
joerg
9d87375b3e Fix stack alignment for the thread stack. The AMD64 stack has 16 Bytes
alignment, but this is active before the return address is pushed onto
the stack.  Fixes random crashes in va_start when the SSE registers are
saved.
2009-07-02 09:57:09 +00:00
joerg
c1faa994fd Reduce diff to makecontext. 2009-07-01 16:54:41 +00:00
wiz
e94ec523a3 Bump date for previous. 2009-07-01 11:25:50 +00:00
mrg
c5cc9dbb54 document RLIMIT_AS. text from freebsd. fixes PR#41517. 2009-07-01 06:01:42 +00:00
wiz
04b11be56d Mark up NULL with Dv. Remove trailing whitespace. 2009-06-29 08:38:07 +00:00
plunky
fc992f3309 add mention of SO_ACCEPTFILTERS, language largely from FreeBSD manpage 2009-06-29 06:22:13 +00:00
zafer
791f9db912 fix spelling error. 2009-06-24 22:19:14 +00:00
wiz
2518910327 Sort errors. 2009-06-21 18:04:46 +00:00
dholland
6eda430b6b Fix pastos. From Jukka Salmi in PR 41605, with a very minor adjustment. 2009-06-21 17:52:42 +00:00
yamt
dd8cbf5c36 don't bother to say that some advises are not implemented.
ignoring them is a valid implementation.
2009-06-09 11:21:33 +00:00
christos
d9b57d2294 another missing \ 2009-06-08 17:18:11 +00:00
christos
d6dbd2857d remove duplicated line 2009-06-08 17:06:22 +00:00
christos
64ef372149 missing \ 2009-06-08 17:00:40 +00:00
christos
d37a1d1b07 sort, add missing, fix section 2009-06-08 16:59:52 +00:00
christos
ecb120d5ca new resolver functions. 2009-06-08 16:57:09 +00:00
christos
190ebc6a17 merge our changes 2009-06-08 16:55:30 +00:00
wiz
cc8abfac27 New sentence, new line. 2009-06-03 09:04:18 +00:00
wiz
cd10aae286 Bump date for previous. 2009-06-03 09:03:24 +00:00
christos
2a6e000238 add _lwp_makecontext for the vax. 2009-06-03 01:02:28 +00:00
pooka
2ff04dc7a0 document errnos 59 and 71. government denies knowledge. 2009-06-02 13:15:41 +00:00
yamt
cef9767a7a don't describe internal details. 2009-06-01 22:04:54 +00:00
njoly
7e10d34f2a Note that fcntl(2) returns EINVAL for invalid command. 2009-06-01 09:56:06 +00:00
yamt
99122f39e6 qsort: remove the "switch to insertion sort" optimization because it
causes catastrophic performance for certain inputs.
2009-06-01 06:37:40 +00:00
yamt
8a29be6be3 fix NULL dereferences in the compat versions of getpwent, getpwnam,
and getpwuid.
2009-06-01 06:04:37 +00:00
joerg
09d5d44150 Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
2009-05-26 08:04:11 +00:00
ginsbach
48dc241150 Crank date for previous. 2009-05-24 02:30:17 +00:00
ginsbach
98fa92ea04 Add %s to strptime(3) to make symmetric with strftime(3). 2009-05-24 02:25:43 +00:00
christos
7966578116 remove stray comma, from anon ymous. 2009-05-23 18:57:25 +00:00
wiz
f6b43a0c43 Markup improvements. No need to mark up numbers as defined values, math
did the definition for us ages ago. Make HTML-ready.
2009-05-21 09:13:35 +00:00
christos
fd67370208 mention that these functions return 0 and set errno to ERANGE on invalid base. 2009-05-20 22:01:34 +00:00
wiz
b746c978a5 Sort errors. 2009-05-18 14:51:55 +00:00
wiz
caea0adcf4 Sort SEE ALSO. 2009-05-18 14:49:35 +00:00
wiz
5d3d6cd4cc Sort errors. 2009-05-18 13:56:05 +00:00
wiz
ae1f36f738 Punctuation nit. Remove superfluous .Pp. 2009-05-18 12:40:21 +00:00
wiz
b18f60f11c Fix typo in Dd argument. Remove superfluous .Pp. 2009-05-18 12:39:17 +00:00
wiz
6ece1e04b0 Fix typo in Dd argument. 2009-05-18 12:37:28 +00:00
wiz
7f3775f247 Bump date for last effective change. 2009-05-18 09:28:51 +00:00
wiz
282b14962b Bump date for last effective change (2008). 2009-05-18 09:02:35 +00:00
wiz
5dd21e58d5 Grammar fix. 2009-05-18 09:00:02 +00:00
jakllsch
6a0e3cf139 Update MLINKS to match the flist. 2009-05-15 02:23:42 +00:00