public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH] Cygwin: pty: Make rlwrap work with cmd.exe.
Date: Tue, 20 Apr 2021 10:47:25 +0200	[thread overview]
Message-ID: <YH6VHTxT4Vn+BcAQ@calimero.vinschen.de> (raw)
In-Reply-To: <20210420055113.b03868929391b157c69dc807@nifty.ne.jp>

On Apr 20 05:51, Takashi Yano wrote:
> On Mon, 19 Apr 2021 16:19:09 +0200
> Corinna Vinschen wrote:
> > Hi Takashi,
> > 
> > On Apr 19 20:51, Takashi Yano wrote:
> > > - After the commit 919dea66, "rlwrap cmd" fails to start pseudo
> > >   console. This patch fixes the issue.
> > > ---
> > >  winsup/cygwin/fhandler_tty.cc | 2 ++
> > >  1 file changed, 2 insertions(+)
> > > 
> > > diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
> > > index ba9f4117f..d44728795 100644
> > > --- a/winsup/cygwin/fhandler_tty.cc
> > > +++ b/winsup/cygwin/fhandler_tty.cc
> > > @@ -1170,6 +1170,8 @@ fhandler_pty_slave::reset_switch_to_pcon (void)
> > >      }
> > >    if (isHybrid)
> > >      return;
> > > +  if (get_ttyp ()->pcon_start)
> > > +    return;
> > >    WaitForSingleObject (pcon_mutex, INFINITE);
> > >    if (!pcon_pid_self (get_ttyp ()->pcon_pid)
> > >        && pcon_pid_alive (get_ttyp ()->pcon_pid))
> > > -- 
> > > 2.31.1
> > 
> > this patch doesn't apply.  Does it depend on the race issue fixes?
> 
> Yes. This depends on the race issue patches.
> Please apply this patch after the race issue patches.
> 
> Thanks.

Pushed.


Thanks,
Corinna

      reply	other threads:[~2021-04-20  8:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-19 11:51 Takashi Yano
2021-04-19 14:19 ` Corinna Vinschen
2021-04-19 20:51   ` Takashi Yano
2021-04-20  8:47     ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YH6VHTxT4Vn+BcAQ@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-patches@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).