OSDN Git Service

* cygheap.cc (cygheap_init): Born again function.
authorcgf <cgf>
Mon, 2 Oct 2000 02:26:04 +0000 (02:26 +0000)
committercgf <cgf>
Mon, 2 Oct 2000 02:26:04 +0000 (02:26 +0000)
commit33d97d1329769b273c592a8474021c669bf72e6f
tree46c0650d2a681ba367d36d7b8a05d1f753c46d2f
parent4d6a1945043c4f52a9276e7a9a19652cb50243e2
* cygheap.cc (cygheap_init): Born again function.
(_cmalloc): Reorganize to accomodate muto locking.
(_cfree): Use muto lock to avoid multi-thread problems.
* cygheap.h (incygheap): Just use cygheap_max to find upper cygwin heap bounds.
* dcrt0.cc (dll_crt0_1): Reinstitute cygheap_init call.
* path.cc (getcwd): Just return cwdstuff::get result, allowing correct handling
of negative length.
(cwdstuff::get): Malloc a buffer if one is not available.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/debug.cc
winsup/cygwin/path.cc
winsup/cygwin/sync.cc