| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* libc/stdlib/mallocr.c: #include windows.h on Win32.
(AlignPage): Continue macro on next line.
|
|
|
|
|
|
|
|
| |
* libc/stdlib/mallocr.c: Include <limits.h>.
(request2size): Change macro to do
unsigned long comparisons and avoid signed overflow.
(mALLOc): Add overflow check for the number of bytes to allocate.
(rEALLOc): Ditto.
|
|
|
|
| |
fails, don't bail out, and try to correct next time.
|
|
|
|
| |
if _REENT_SMALL is defined in config.h. define this for xstormy16.
|
|
|
|
|
| |
* libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
for SIZE_SZ so that alignment ends up a minimum of 8.
|
|
|
|
| |
under Cygwin.
|
|
|
|
|
|
|
|
| |
* Makefile.in: Regenerate.
* libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
(_EXPARM): New macro for defining a function parameter.
* libc/include/stdlib.h: Use _EXPARM.
* libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
|
|
|