delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/29/10:28:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de)
From: "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
To: <cygwin AT cygwin DOT com>
Subject: RE: [ANNOUNCEMENT] Updated: cygwin-1.3.2, w32api-20010520
Date: Tue, 29 May 2001 18:09:40 +0400
Message-ID: <000701c0e849$00a2cda0$21c9ca95@mow.siemens.ru>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20010522160031.C19354@redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

>
> On Tue, May 22, 2001 at 11:10:03PM +0400, Andrej Borsenkow wrote:
> >Christopher Faylor wrote:
> >>On Tue, May 22, 2001 at 07:53:28PM +0400, Andrej Borsenkow wrote:
> >>
> >>>This release fixed a problem we had with zsh tests that were using pty.
> >>>Thank you.
> >>>
> >>
> >>Huh.  Interesting.  Was this the problem with O_NOCTTY?  I am surprised
> >>that this would actually work correctly.
> >>
> >
> >
> >No.  O_NOCTTY was internally fixed by not using it on Cygwin :-)
>
> Oh.  Ok.  I still plan on investigating this behavior at some point.  It
> would be interesting to see if there was any difference in behavior if
> you reinstated the O_NOCTTY test because there is now code in cygwin
> that makes an attempt to do the right thing although I'm not sure that
> it is 100% correct.
>

No, it is the same. Processes are still started without ctty:

(tty0)% ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1524       1    1524       1524    1 11006 17:25:13 /usr/bin/zsh
     1828    1524    1828       1464    1 11006 18:05:34 /usr/bin/make
     1488       1    1488       1488    0 11006 18:05:36 /usr/bin/zsh
     1928    1828    1828       1320    1 11006 18:05:38 /usr/bin/sh
     1196    1928    1828       1792    1 11006 18:05:38 /usr/bin/make
     1412    1196    1828       1860    1 11006 18:06:47 /usr/bin/sh
     1832    1412    1828       1780    1 11006 18:06:47
/tools/build/zsh/Src/zsh
S    2000    1832    2000       2000    ? 11006 18:06:59
/tools/build/zsh/Src/zsh
S    1484    2000    2000       1980    ? 11006 18:06:59
/tools/build/zsh/Src/zsh
     1760    1488    1760       1868    0 11006 18:07:13 /usr/bin/ps

-andrej


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019