is-cygwin-tty check

Mihail Konev k.mvc@ya.ru
Sat Nov 12 02:34:00 GMT 2016


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]+



More information about the Cygwin-developers mailing list