OSDN Git Service

* external.cc (cygwin_internal): Export __cygwin_user_data.
authorcgf <cgf>
Sat, 8 Jul 2000 04:36:27 +0000 (04:36 +0000)
committercgf <cgf>
Sat, 8 Jul 2000 04:36:27 +0000 (04:36 +0000)
commit6aab778c508fe510f49d96a36378f5fbba051de3
tree71390d54e660a68fc91237d5f2828e25a504ba05
parente552e47afae5a0dd18959e89731987695c33d64b
* external.cc (cygwin_internal): Export __cygwin_user_data.
* include/sys/cygwin.h: Allow definition of per_process even when not compiling
with C++.
(cygwin_getinfo_types): Add CW_USER_DATA.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Get __cygwin_user_data
pointer from cygwin_internal.  If it doesn't exist, return failure.  Use either
this pointer or passed in pointer throughout.  Clear forkee.
* lib/crt0.h: Accomodate argument changes to _cygwin_crt0_common.
* lib/cygwin_attach_dll.c (cygwin_attach_dll): Reorganize to allow use of newer
binaries with older DLLs.  Detect older DLLs when _cygwin_crt0_common returns 0
and allocate space for a per_process structure on the stack.
* lib/cygwin_crt0.c (cygwin_crt0): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/external.cc
winsup/cygwin/include/sys/cygwin.h
winsup/cygwin/lib/_cygwin_crt0_common.cc
winsup/cygwin/lib/crt0.h
winsup/cygwin/lib/cygwin_attach_dll.c
winsup/cygwin/lib/cygwin_crt0.c