summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
AgeCommit message (Collapse)Author
2000-07-08Correct format mismatch for field widthssommerfeld
2000-07-06avoid losing precision warningschristos
2000-07-05remove extra period in SEE ALL sectionmsaitoh
2000-06-14fix up NetBSD RCS Ids to match the standard, and the leading comment ascgd
to match as well. No functional changes.
2000-06-09Don't segfault when complaining about an invalid single-character option.nathanw
When complaining about a long option which requires an argument, print the actual option, not some pointer-garbage. (Hint: "%c" and "%s" are different.)
2000-05-20Disable malloc's hints to the kernel - now that the madvise() syscallsimonb
actually does something, this can be expensive. From discussion on current-users. Note that the man page is already correct - we imported malloc.c from FreeBSD before they made the same change but malloc.3 after...
2000-05-16Workaround no longer needed, now that the compiler is fixed.is
2000-05-09Initial commit of arm26 portbjh21
2000-05-02Add the (void)&acc; hack from strtouq.c to strtoull.c. This works aroundis
an arm32 compiler bug. Change the comment in strtouq.c to reflect the current usage of the hack.
2000-04-07Fix the bug introduced in rev 1.28 and actually caused failure on alpha;enami
In the function malloc_make_chunks, don't define the local variable ``l'', which is used to hold the actual size of pginfo, as size_t. Define it as a signed integer as before. We expect it to become zero or negative value, and we know that it is much smaller than pagesize and it is small enough to fit in signed interger.
2000-04-07Backout the previous backing out.enami
2000-04-07small fixes; not yet completewiz
2000-04-02Add "namespace.h" and include <getopt.h> since we moved the stuff outchristos
of <unistd.h>
2000-04-02Remove sections relevant to getopt, and add implementation differences.christos
2000-04-02New getopt_long from Thomas Klausner and Dieter Baronchristos
2000-04-01Make mbstowcs and wcstombs work correctly when handed NULL pointers.erh
2000-03-16Add missing comma.enami
2000-03-15Need to quote excessively long Nd argument.kleink
2000-03-08No longer need internal names for strtoq() and strtouq().kleink
2000-03-07Make lint happy about long long integers. (C99 mode for lint, anyone?)kleink
2000-03-06Add ISO C99 long long integer general utility interfaces; partially addresseskleink
PR standards/9482.
2000-01-31Back out the previous 2 revs. The delint'ing of this file causedthorpej
something to break horribly on the Alpha.
2000-01-25Added a tab before a '}' to put the brace in the right place.elric
2000-01-23Delint.mycroft
2000-01-23Partially delint, and a few microoptimizations.mycroft
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
2000-01-09Document that errno is set to ENOMEM if no memory can be allocated.hubertf
1999-12-02Change the declaration of the argv argument to getopt(3) from "char * const *"kleink
(as originally declared in System V) to "char * const []", as was done in 1003.2 and subsequently propagated into XPG4. From Andrew Cagney in PR lib/8930.
1999-11-26check __sh3__msaitoh
1999-11-19Typos (from OpenBSD)kristerw
1999-11-19Don't pass so many args to .Nd macro. It just overflows.enami
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls. the first two items result in the addition of code similar to the following in various functions: _DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
1999-09-16whitespace knflukem
1999-09-10Restore the behaviour of not setting errno to ENOMEM when allocating 0kleink
units of storage and returning a null pointer in System V mode; this was broken by the `fix' in rev. 1.24. Also, as it is stated in ISO C that such operation does not constitute an allocation failure, do not abort() even if the `X' option is set. Amusingly enough the SVID, Fourth Edition, specifies the `unique pointer' return behaviour for this kind of allocation, so this is kind of mis-named.
1999-08-22Need "namespace.h".kleink
1999-08-17Make some needed weak aliases.mycroft
1999-08-02replace malloc(3) with one from freebsd which documents our new malloc.clukem
(also from freebsd). comment out references to reallocf with .\"XXX" for now. i also fixed some roff misuse as well. replace calloc(3), free(3) and realloc(3) with links to malloc(3)
1999-07-23 getopt long functionalitymcr
1999-07-08Make sure errno is set to ENOMEM if we return NULL.thorpej
1999-07-05index -> ldx (and similar in some related variable names). Avoids a lintthorpej
warning.
1999-07-05Oops, back out 1.21. Christos and I apparently stepped on each other.thorpej
1999-07-05s/index/idx/christos
s/EXTRA_SANITY/MALLOC_EXTRA_SANITY/ const poisoning use sysconf to get the pagesize
1999-07-05Compute page size related parameters at run-time.thorpej
1999-07-05EXTRA_SANITY -> MALLOC_EXTRA_SANITY, consistently.thorpej
1999-07-04Only define MADV_FREE do MADV_DONTNEED if it's not already definedthorpej
by <sys/mman.h>.
1999-06-26The 'new malloc' (phk's malloc, from FreeBSD) is now our only malloc.tls
1999-06-17add FreeBSD's malloc, compiled in only if MALLOC_NEW is set in mk.conftls
1999-05-03add a const castaway lint comment.christos
1999-04-06Fix typo noted by NAKAJIMA Yoshihiro in PR lib/7328.tron