From e6ba8355139d41af875894f1adb2156352d617f3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 28 Sep 2003 15:46:00 +0000 Subject: * sigproc.cc (proc_subproc): Restrict permissions on ppid_handle. * devices.shilka (device::parse): Restore check for tty in unit handling, but without the previous typo. * devices.cc: Regenerate. * devices.h (DEV_CYGDRIVE_MAJOR): Change major number to one used by linux for "user-mode virtual block device". --- winsup/cygwin/devices.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/devices.cc') diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc index 0131b3160..ce2176ec7 100644 --- a/winsup/cygwin/devices.cc +++ b/winsup/cygwin/devices.cc @@ -1195,7 +1195,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->devn != FH_TTY)) dev = NULL; else { -- cgit v1.2.3