OSDN Git Service

* dcrt0.cc (do_global_dtors): Run DLL dtors.
authorcgf <cgf>
Thu, 14 Apr 2005 17:34:02 +0000 (17:34 +0000)
committercgf <cgf>
Thu, 14 Apr 2005 17:34:02 +0000 (17:34 +0000)
commitd6bfabc7fd798f3a6ba9c6088275b48b517b8912
tree20deb0bfb1c7ec20a8f4e0484bd17676f8b244aa
parentd598d3df03a2e3ce1094f9cf292a861bcbbc6ce9
* dcrt0.cc (do_global_dtors): Run DLL dtors.
(__main): Don't rely on atexit to run dtors.
(do_exit): Specifically call do_global_dtors here.
(cygwin_exit): Ditto.
* dll_init.cc (dll_global_dtors): Make global.  Only run dtors once.
(dll_list::init): Just set flag that dtors should be run.  Don't rely on
atexit.
* dll_init.h (dll_global_dtors): Declare.
* exceptions.cc (sigrelse): Define.
* path.h (is_fs_device): New method.
(is_lnk_special): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::link): Use "is_lnk_special" rather
than "is_lnk_symlink".
* syscalls.cc (rename): Ditto.
* hookapi.cc (ld_preload): Use colon as a separator rather than space.
winsup/cygwin/ChangeLog
winsup/cygwin/cygwin.din
winsup/cygwin/dcrt0.cc
winsup/cygwin/dll_init.cc
winsup/cygwin/dll_init.h
winsup/cygwin/exceptions.cc
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/hookapi.cc
winsup/cygwin/path.h
winsup/cygwin/syscalls.cc