by subsequent handle creation.
+2005-11-06 Christopher Faylor <cgf@timesys.com>
+
+ * dcrt0.cc (dll_crt0_0): Initialize security data first so that it can
+ be used by subsequent handle creation.
+
2005-11-04 Christopher Faylor <cgf@timesys.com>
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
void __stdcall
dll_crt0_0 ()
{
+ init_global_security ();
lock_process::init ();
init_console_handler (TRUE);
_impure_ptr = _GLOBAL_REENT;
wincap.init ();
initial_env ();
- init_global_security ();
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
GetCurrentProcess (), &hMainProc, 0, FALSE,
DUPLICATE_SAME_ACCESS))