From 83abcab4c07167f3fd4350bc4d443d67fb307493 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 27 Sep 2003 15:19:29 +0000 Subject: [PATCH] * device.shilka (device::parse): Allow units on other than tty. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/devices.gperf | 2 +- winsup/cygwin/devices.shilka | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d2924ade9..e8185946e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-09-27 Christopher Faylor + + * device.shilka (device::parse): Allow units on other than tty. + 2003-09-27 Corinna Vinschen * wincap.cc (wincapc::init): Allow requesting server info for NT4 SP6. diff --git a/winsup/cygwin/devices.gperf b/winsup/cygwin/devices.gperf index 2d5b784b2..49202a70c 100644 --- a/winsup/cygwin/devices.gperf +++ b/winsup/cygwin/devices.gperf @@ -86,7 +86,7 @@ device::parse (const char *s) if (++len < prior_len) { dev = lookup (s, len); - if (!dev || (!dev->upper && !dev->devn == FH_TTY)) + if (!dev || !dev->upper) dev = NULL; else { diff --git a/winsup/cygwin/devices.shilka b/winsup/cygwin/devices.shilka index 4f135ade1..544c9238e 100644 --- a/winsup/cygwin/devices.shilka +++ b/winsup/cygwin/devices.shilka @@ -352,7 +352,7 @@ device::parse (const char *s) if (++len < prior_len) { dev = KR_find_keyword (s, len); - if (!dev || (!dev->upper && !dev->devn == FH_TTY)) + if (!dev || !dev->upper) dev = NULL; else { -- 2.43.5