mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
424f8c09fa
* malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these. * malloc/realloc.c (_realloc_internal): Renamed from realloc; don't use __realloc_hook. (realloc): New function; call __realloc_hook ?: _realloc_internal. * malloc/malloc.c (_malloc_internal): Renamed from malloc; don't use __malloc_hook. (malloc): New function; call __malloc_hook ?: _malloc_internal. (initialize): Set up _heaplimit to cover the _heapinfo table. (morecore_recursing): New static variable. (morecore): If that is set, return null immediately. When growing the info table, before getting new core from the system for it, set morecore_recursing and try moving _heapinfo with _realloc_internal. When that fails and we get new core, set _heaplimit to cover the core for the new _heapinfo table. (register_heapinfo): New function. Record the _heapinfo table's own blocks in that table and in the statistics variables. (initialize, _malloc_internal): Use it after allocating new table. Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com) * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use by other packages. [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code. * mach/errorlib.h (errors): Use const for decl. * time/tzfile.c (uc2ul, _uc2ul): Macros removed. (decode): New inline function; decode signed 32-bit integers, and sign-extend properly when long is longer than 32 bits. (__tzfile_read): Changed all uses of uc2ul to decode. Decode the transition times properly when sizeof (time_t) > 4. * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn. (buffered_vfprintf): Remove line buffer when flush failed. |
||
---|---|---|
.. | ||
mach | ||
.cvsignore | ||
bootprivport.c | ||
devstream.c | ||
err_boot.sub | ||
err_ipc.sub | ||
err_kern.sub | ||
err_mach.sub | ||
err_server.sub | ||
err_us.sub | ||
error_compat.c | ||
errorlib.h | ||
errstring.c | ||
errsystems.awk | ||
errsystems.c | ||
hello.c | ||
lock-intern.h | ||
mach_error.c | ||
mach_error.h | ||
mach_init.c | ||
mach_init.h | ||
mach_shortcuts.c | ||
mach_syscalls.c | ||
mach_syscalls.h | ||
mach_traps.S | ||
mach.h | ||
Machrules | ||
Makefile | ||
mig_strncpy.c | ||
mig-alloc.c | ||
mig-dealloc.c | ||
msg_destroy.c | ||
msg-destroy.c | ||
msg.c | ||
msgserver.c | ||
mutex-solid.c | ||
setup-thread.c | ||
shortcut.awk | ||
spin-lock.c | ||
spin-lock.h | ||
spin-solid.c | ||
syscalls.awk | ||
vm_page_size.c |