Mail Archives: cygwin/1997/08/16/09:10:09
Michael A. Chase wrote:
> When I use a pipe on the command line, the results from the final command
> do not appear on the display. I can send the output to a file.
>
> I'm using WinNt 4.0 SP3, gnuwin32 b18, and coolview dated 970810. The
> problem goes away when I reinstall the cgywin.dll dated 970731.
Fixed.
diff -ur /winsup/dcrt0.cc winsup/dcrt0.cc
--- /winsup/dcrt0.cc Tue Aug 12 23:46:29 1997
+++ winsup/dcrt0.cc Sat Aug 16 12:45:35 1997
@@ -671,7 +671,7 @@
}
/* Kill the foreground process group on session leader exit */
- if (getpid () == u->self->sid && u->self->ctty != -1)
+ if (getpgrp () > 0 && getpid () == u->self->sid && u->self->ctty != -1)
{
tty *ttyp = s->t.gettty (u->self->ctty);
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -