* device.shilka (device::parse): Allow units on other than tty.

This commit is contained in:
Christopher Faylor 2003-09-27 15:19:29 +00:00
parent 658b4ff8fd
commit 83abcab4c0
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-09-27 Christopher Faylor <cgf@redhat.com>
* device.shilka (device::parse): Allow units on other than tty.
2003-09-27 Corinna Vinschen <corinna@vinschen.de>
* wincap.cc (wincapc::init): Allow requesting server info for NT4 SP6.

View File

@ -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
{

View File

@ -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
{