christos
cdcb070b9c
remove bogus (void)&var; From Anon Ymous
2006-12-18 00:40:14 +00:00
elad
8e60b8367c
PR/34984: Denis Lagno: minor problems with tsearch.3
2006-11-26 13:10:54 +00:00
christos
3d98aa3f4b
fix spelling of accidentally; from Zapher
2006-11-24 19:37:02 +00:00
elad
25c47f2333
PR/34602: sushant: Bug in malloc implementation contains dead code in
...
free_pages()
Applied patch from Mindaugas <unex at linija org> (in #NetBSD-code), thanks
2006-10-08 16:25:15 +00:00
thorpej
82fd1ebbaa
- Move strtoll.c and strtoull.c from libc/stdlib to common/libc/stdlib.
...
- Add strtoll.c and strtoull.c to libkern.
2006-10-08 03:14:55 +00:00
elad
a35b07a2ca
Correctly recover signal state if failed trying to set it.
...
Patch from David A. Holland in #NetBSD-code, thanks!
2006-10-07 22:16:19 +00:00
wiz
ec15e07b4a
Switch from 4-clause to 2-clause BSD license.
...
Ok dillo@, board@.
2006-10-04 17:29:42 +00:00
mjl
d072c175eb
s,floride,fluoride,
2006-06-28 06:25:15 +00:00
wiz
20862d8c44
Bump date for previous.
2006-04-24 21:54:37 +00:00
liamjfoy
14a07a0706
- add a missing ;
...
- use 'size' instead of 'nsize', makes more sense
ok christos@
2006-04-24 20:46:23 +00:00
thorpej
7d3d66c90e
Move strtoumax.c from libc/stdlib to common/libc/stdlib and include it
...
in libkern. Required for new code coming soon.
2006-04-22 15:33:33 +00:00
drochner
273bf6508d
correct multiplicand in pseudorandom generation
2006-03-31 11:43:54 +00:00
drochner
04293de9bb
switch byteorder of seed to match previous (and documented) behaviour
2006-03-31 11:42:31 +00:00
kleink
c66ffccfbe
Xref rnd(4).
2006-03-24 16:14:42 +00:00
drochner
f81322cf18
build erand48_ieee754.c on everything but vax
2006-03-22 22:03:58 +00:00
drochner
7a2af2aba0
Rewrite erand48() to put the random bits into the mantissa by simple
...
bitshifts instead of calling ldexp() three times.
(for ieee doubles only -- vax can't use it, so the old version
needs to stay around)
This removes the dependency on ldexp() which also didn't participate in
the usual __RENAME game, thus lead to confusion.
In addition, this version is almost 3 times as fast for me.
2006-03-22 21:06:03 +00:00
drochner
e89a43e9fd
<math.h> is just needed for the ldexp() call in erand48() -
...
remove unnecessary dependency
2006-03-22 20:52:16 +00:00
christos
3040914cf6
Coverity CID 1560: Don't leak memory when multiple currency symbols are present
2006-03-19 01:50:49 +00:00
christos
7ac9949871
Coverity CID 2528: Don't delete the node we are about to return.
2006-03-19 01:12:08 +00:00
wiz
929e506267
Use more macros.
2006-03-15 20:08:24 +00:00
kleink
bc89c06cbf
Add strtof(3) and strtold(3); welcome libc 12.137.
2006-03-15 17:35:17 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
kleink
3cd8501c1e
Drop in gdtoa as a replacement for dtoa, strtod() from stdlib/strtod.c.
2006-01-25 15:43:01 +00:00
christos
6eaa70365b
Kill _Exit; breaks build on cygwin and this implementation "is not exactly
...
equivalent to calling _exit".
2006-01-20 22:02:07 +00:00
perry
46359204cf
__inline__ -> inline
2005-12-24 21:42:02 +00:00
perry
4e11af46bc
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 21:11:15 +00:00
christos
e5548b402a
Use reach-over sources from common/lib/libc
2005-12-20 19:31:47 +00:00
christos
bea4991aaa
Older gcc does not support #ifdef inside macro expansion.
2005-12-04 17:57:25 +00:00
yamt
e301b762a1
redo the previous; constify rather than making a string writable.
2005-12-02 14:19:43 +00:00
yamt
a6a060b04b
note that "argv" is not really const.
2005-12-02 14:11:01 +00:00
yamt
9de32b7fa1
don't make internal functions pretend to take a const argument.
2005-12-02 14:08:51 +00:00
christos
03256c6e55
WARNS=4
2005-11-29 03:11:58 +00:00
wiz
72a37764e0
Punctuation nits; grammar fix.
2005-09-26 10:54:46 +00:00
christos
cc85a7cfd9
add getenv_r and ttyname_r
2005-09-25 20:08:01 +00:00
christos
5b84b3983f
compat core reorg.
2005-09-13 01:44:08 +00:00
christos
86741d79ab
- Fix the remaining indr_references so that they define lint symbols.
...
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
christos
fce61e5249
revert previous, my include files were out of day.
2005-07-16 17:32:09 +00:00
christos
b5626a3a22
Fix prototype inconsistency, discovered by lint2 fixes.
2005-07-16 17:15:46 +00:00
wiz
2c8c6850a4
Remove superfluous Pp, sort sections.
2005-07-12 08:28:42 +00:00
wiz
d2aabe58d4
Remove superfluous Pp.
2005-07-12 08:28:27 +00:00
drochner
e0d7e15c44
tolerate NULL pointers at some places
2005-07-06 17:17:15 +00:00
drochner
45ec6e4557
add some clarification, and refer to POSIX
...
partly borrowed from FreeBSD
2005-07-06 17:02:56 +00:00
drochner
64df4b988e
fix for non-const lsearch() arg, also fix return values and the
...
description of the comparision function, and refer to POSIX
partly borrowed from FreeBSD
2005-07-06 16:57:28 +00:00
drochner
ecef4b3d3f
The source array of lsearch() shouldn't be "const".
...
Being here, cleanup the const castaway stuff.
2005-07-06 15:47:15 +00:00
drochner
e866f2794b
Move insque/remque/lsearch/lfind from libcompat to libc,
...
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
2005-07-06 14:43:24 +00:00
lukem
88c3eadbfa
Add missing __RCSID()
2005-06-12 05:21:25 +00:00
christos
631ccd6107
Revert the previous patch. It is not worth it optimizing the code to avoid
...
compiler errors because it makes it gratutiously different.
2005-04-24 23:29:06 +00:00
christos
19139351d0
Simplify the code and avoid a compiler issue with -O6 on sparc64:
...
Error: Illegal operands: There are only 32 single precision f registers; [0-31]
2005-04-24 19:33:52 +00:00
wiz
9899f59159
Grammar fix.
2005-04-19 00:15:50 +00:00
wiz
7224809d57
Document index argument, and mention that long_options
...
needs to be terminated with a structure containing zeroes.
Slightly modified version of patch from PR 30002 by Kailash Sethuraman.
Bump date.
2005-04-18 10:56:33 +00:00