OSDN Git Service

* cygheap.h (init_cygheap): New struct holding values that live in the Cygwin
authorcgf <cgf>
Tue, 14 Nov 2000 05:53:32 +0000 (05:53 +0000)
committercgf <cgf>
Tue, 14 Nov 2000 05:53:32 +0000 (05:53 +0000)
commit93e1ee5888fd0fe2f52e39cfc90aff3902271d3c
treebbc51945a6261059962a361e4d90eba6900357e4
parent800dc7cfe89f492c9a775996305aa6190008caf2
* cygheap.h (init_cygheap): New struct holding values that live in the Cygwin
heap.
* child_info.h (child_info): Change pointer type of cygheap to init_cygheap.
* cygheap.cc (init_cheap): Point cygheap_max after contents of cygheap.  Move
some stuff into cygheap.h.
* dir.cc (opendir): Change to use root and rootlen in cygheap rather than in
myself.
(mkdir): Change to use umask in cygheap rather than in myself.
* path.cc: Ditto, throughout.
* syscalls.cc (_open): Ditto.  Change to use umask in cygheap rather than in
myself.
(chroot): Change to allocate root dir on the cygwin heap.
(umask): Change to use umask in cygheap rather than in myself.
(cygwin_bind): Ditto.
* sigproc.cc (proc_subproc): Don't copy umask or root stuff as this happens
automatically now.
* pinfo.h (_pinfo): Migrate stuff out of here and into init_cheap.
* dcrt0.cc (dll_crt0_1): Call cygheap_init later in startup for first cygwin
process.
12 files changed:
winsup/cygwin/ChangeLog
winsup/cygwin/child_info.h
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/dir.cc
winsup/cygwin/external.cc
winsup/cygwin/net.cc
winsup/cygwin/path.cc
winsup/cygwin/pinfo.h
winsup/cygwin/sigproc.cc
winsup/cygwin/syscalls.cc