This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH v2 0/1] Cygwin: Fix incorrect TTY for non-cygwin process.
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin-patches at cygwin dot com" <cygwin-patches at cygwin dot com>
- Date: Fri, 20 Sep 2019 22:02:04 +0000
- Subject: Re: [PATCH v2 0/1] Cygwin: Fix incorrect TTY for non-cygwin process.
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dS9bvoTnnhXQEO4TZ0vRCLmG/YPhwBlq1MLDda5fiXY=; b=KSl7Vlz5916l4p11/4SW2aqIA/0M97LemxjZ9gCPTHI5czgs6P2yv3yFB0CLp0rh4+8i+P/xAFJdqCR9Iay/9Bc9GSrQXjQSRCOWCVQKZXEFx9uN818dZ+pV83bNqY1a119xJfSs4dYX0du8MQA9sYvy93laEjaZNIPw9XrZBe3uUU6vSS8mdnVfi2qBi+wdo1Erb9StB9wbSgwFweUSLunbDHbUzYyxP+9ImJJ32fYVKa6XSz7yoksZEfOzTyteN4BGILfr8q+ZmH9qAhSP5ZSKii7GWPLc1SShSnhjI67FtDWWrdYgdjVW/GiTX30JSxZAIGWn9qlVGJ80E+odQg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QsLFDbPETz/eZdLoywM8cVP+q96bxYen8+BRFahNBQIjoh0iAnNYAW10iimRsu7NGXpQfwnCUW+AOpcaIadtJ7+6sKfvslCDpe3anYRRXmzzNXBtoXQNAnr5rQiez6O52WHe92ZdPbttanBuGPNS8KbUHWlX3YD2r8ql42S9ulI7KBh3hBqU7JUTqaDRuHw/97C/VDsQswBHmXde7mn6rVi7lX/VZ6BULqF6akDlVH0/8XhZH3yp/p3I2ZhccN3Vn0q/rKNcJMeITwy2A6K5ITD21PxYivPJpRdQXMzvTIq85FiUh9ssA3YWdLuwyBO3B6mpXTVUU4Jk/IbtrRX8ig==
- References: <20190920030436.973-1-takashi.yano@nifty.ne.jp>
On 9/19/2019 11:04 PM, Takashi Yano wrote:
> - After commit d4045fdbef60d8e7e0d11dfe38b048ea2cb8708b, the TTY
> displayed by ps command is incorrect if the process is non-cygwin
> process. This patch fixes this issue.
>
> v2:
> Simplify the condition to call proc_subproc (PROC_CLEARWAIT, 1) in
> exceptions.cc.
>
> Takashi Yano (1):
> Cygwin: Fix incorrect TTY for non-cygwin process.
>
> winsup/cygwin/exceptions.cc | 2 +-
> winsup/cygwin/spawn.cc | 5 +----
> 2 files changed, 2 insertions(+), 5 deletions(-)
Pushed. Thanks.
Ken