This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: is-cygwin-tty check
- From: Mihail Konev <k dot mvc at ya dot ru>
- To: Cygwin development list <cygwin-developers at cygwin dot com>
- Date: Sat, 12 Nov 2016 07:34:26 +0500
- Subject: Re: is-cygwin-tty check
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp3o.mail.yandex.net; dkim=pass header.i=@ya.ru
- References: <20161112022046.GD2193@localhost>
On Sat, Nov 12, 2016 at 07:21:07AM +0500, Mihail Konev wrote:
>
> Is the check correct?
>
> In particular, should it put any restrictions
> on what is before and after the -pty%d- (slashes, non-[-a-z0-9] ?)
>
A spare question ...
fhandler_tty.cc says it all:
\Device\NamedPipe\[a-z0-9]+-[a-z0-9]+-pty[0-9]+-[-a-z0-9]+