OSDN Git Service

* dcrt0.cc (dll_crt0_0): Oops. We need to bother with setting this in the
authorcgf <cgf>
Mon, 20 Mar 2006 01:16:39 +0000 (01:16 +0000)
committercgf <cgf>
Mon, 20 Mar 2006 01:16:39 +0000 (01:16 +0000)
fork/exec case.

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

index a87f194..3e893bd 100644 (file)
@@ -1,5 +1,10 @@
 2006-03-19  Christopher Faylor  <cgf@timesys.com>
 
+       * dcrt0.cc (dll_crt0_0): Oops.  We need to bother with setting this in
+       the fork/exec case.
+
+2006-03-19  Christopher Faylor  <cgf@timesys.com>
+
        * dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler
        here since it will be set later when we discover if we have a ctty or
        not.
index 1362e70..de01d74 100644 (file)
@@ -742,6 +742,7 @@ dll_crt0_0 ()
              }
            break;
        }
+      init_console_handler (myself->ctty >= 0);
     }
 
   user_data->resourcelocks->Init ();