| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=103668
|
| |
|
|
|
|
|
|
|
| |
Implement a version of qsort that provides a thunk to the comparison function.
Update manual pages.
Notes:
svn path=/head/; revision=103165
|
| |
|
|
|
|
|
| |
by atexit().
Notes:
svn path=/head/; revision=103036
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103012
|
| |
|
|
|
|
|
| |
Persuaded by: Google
Notes:
svn path=/head/; revision=102229
|
| |
|
|
|
|
|
|
|
|
|
| |
definitions of the functions that convert strings to numbers
and are defined by IEEE Std 1003-1.2001.
- Use ANSI-C function definitions for all of the functions
mentioned above plus strtouq and strtoq.
- Update the prototypes in the manual pages.
Notes:
svn path=/head/; revision=101912
|
| |
|
|
|
|
|
|
|
|
| |
prototype of the tdelete(3) function.
- Remove duplicated space.
- Use an ANSI-C function definition for tdelete(3).
- Update the manual page.
Notes:
svn path=/head/; revision=101882
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to cause bugs when gcc is more aggressively optimising things.
There are still problems with dtoa mentioned in the PR - maybe
Dan could suggest a patch.
PR: 40209
Submitted by: Dan Lukes <dan@obluda.cz>
Approved by: bde
MFC after: 2 weeks
Notes:
svn path=/head/; revision=101812
|
| |
|
|
|
|
|
| |
Spotted by: ache
Notes:
svn path=/head/; revision=101568
|
| |
|
|
| |
Notes:
svn path=/head/; revision=101291
|
| |
|
|
|
|
|
|
|
| |
for when num * size would cause integer overflow.
MFC after: 1 week
Notes:
svn path=/head/; revision=101290
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99735
|
| |
|
|
| |
Notes:
svn path=/head/; revision=98907
|
| |
|
|
|
|
|
|
|
|
|
| |
Hopefully, now it is more clear that the memory referenced by the
ptr argument of realloc(ptr,size) is freed and only the return value
of realloc() points to a valid memory area upon successful completion.
Submitted by: Martin Faxer <gmh003532@brfmasthugget.se>
Notes:
svn path=/head/; revision=97967
|
| |
|
|
|
|
|
| |
Partially submitted by: wollman
Notes:
svn path=/head/; revision=97639
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97467
|
| |
|
|
|
|
|
| |
Submitted by: keramida
Notes:
svn path=/head/; revision=97407
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97330
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97044
|
| |
|
|
| |
Notes:
svn path=/head/; revision=96350
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95377
|
| |
|
|
|
|
|
|
|
| |
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
Notes:
svn path=/head/; revision=93399
|
| |
|
|
|
|
|
| |
I believe have made all of libc .h's as consistent as possible.
Notes:
svn path=/head/; revision=92991
|
| |
|
|
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
Notes:
svn path=/head/; revision=92986
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92941
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92905
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92889
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
be serialized. A mutex is used to protect the critical regions.
sbrk() and brk() are not thread safe. Replace use of sbrk() with
a call to malloc to avoid race when one thread calls atexit
while another thread calls malloc.
Reviewed by: deischen
Notes:
svn path=/head/; revision=91697
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91161
|
| |
|
|
| |
Notes:
svn path=/head/; revision=89585
|
| |
|
|
| |
Notes:
svn path=/head/; revision=89139
|
| |
|
|
| |
Notes:
svn path=/head/; revision=88681
|
| |
|
|
|
|
|
|
| |
Pointed by: bde
Inspired by: POSIX
Notes:
svn path=/head/; revision=88472
|
| |
|
|
|
|
|
|
|
|
|
| |
According to C99:
"The functions atof, atoi, atol, and atoll need not
affect the value of the integer expression errno on an
error. If the value of the result cannot be represented,
the behavior is undefined."
Notes:
svn path=/head/; revision=88469
|
| |
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=87872
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87738
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87737
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87736
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87659
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87501
|
| |
|
|
|
|
|
|
|
| |
Use simpler test for valid ranges
Submitted by: bde
Notes:
svn path=/head/; revision=87494
|
| |
|
|
|
|
|
| |
ia64.
Notes:
svn path=/head/; revision=87225
|
| |
|
|
|
|
|
| |
The only assumption left is that 'A'..'Z' 'a'..'z' both are contiguous
Notes:
svn path=/head/; revision=87196
|
| |
|
|
|
|
|
|
|
|
|
|
| |
removing it from our source tree in order to have one version
of strtod() for all arches. netbsd_strtod.c still left in source
tree until alpha folks make sure that our native strtod() works
as well as NetBSD's one.
Reviewed by: peter, bde (some time ago)
Notes:
svn path=/head/; revision=87123
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The definition of character class digit requires that only ten characters
-the ones defining digits- can be specified; alternate digits (for
example, Hindi or Kanji) cannot be specified here. However, the encoding
may vary if an implementation supports more than one encoding.
The definition of character class xdigit requires that the characters
included in character class digit are included here also and allows for
different symbols for the hexadecimal digits 10 through 15.
Notes:
svn path=/head/; revision=87078
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87042
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87040
|
| |
|
|
|
|
|
| |
Optimize national digits code a bit
Notes:
svn path=/head/; revision=87038
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87029
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87027
|