]> sourceware.org Git - newlib-cygwin.git/commitdiff
* init.cc (dll_entry): Move wincap.init call back from here...
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 5 Mar 2012 12:09:22 +0000 (12:09 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 5 Mar 2012 12:09:22 +0000 (12:09 +0000)
* dcrt0.cc (dll_crt0_0): ...to here.

winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/init.cc

index b4ae19ced70e679bdc5f6b6196a2d72db467c909..90fcd96ed25f98afd794a41165e0e1aa9b7d2ec3 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-05  Corinna Vinschen  <corinna@vinschen.de>
+
+       * init.cc (dll_entry): Move wincap.init call back from here...
+       * dcrt0.cc (dll_crt0_0): ...to here.
+
 2012-03-05  Corinna Vinschen  <corinna@vinschen.de>
 
        * cygheap.h (enum fcwd_version_t): Move here from path.cc.
index 5cee5f16d3be130cdb884e06cb6faf2eb4ffe625..e7a35f219aea072dee7a6f8711027ca655485ffb 100644 (file)
@@ -1,7 +1,7 @@
 /* dcrt0.cc -- essentially the main() for the Cygwin dll
 
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
+   2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
 
 This file is part of Cygwin.
 
@@ -683,6 +683,7 @@ init_windows_system_directory ()
 void
 dll_crt0_0 ()
 {
+  wincap.init ();
   child_proc_info = get_cygwin_startup_info ();
   init_windows_system_directory ();
   init_global_security ();
index c8d4d02dbc50030d21a698904e66a7ccd3661ef7..1b245f58167dfaa5a7eb59d9a95f63894da65b20 100644 (file)
@@ -1,7 +1,7 @@
 /* init.cc
 
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
+   2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
 
 This file is part of Cygwin.
 
@@ -74,7 +74,6 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
   switch (reason)
     {
     case DLL_PROCESS_ATTACH:
-      wincap.init ();
       init_console_handler (false);
 
       cygwin_hmodule = (HMODULE) h;
This page took 0.036734 seconds and 5 git commands to generate.