Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-28 19:46:00 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-28 19:46:00 +0400
commite6ba8355139d41af875894f1adb2156352d617f3 (patch)
tree2277b9aa346c7a610fa296a9d9a2e040d58a28a9 /winsup/cygwin/devices.cc
parent5c770c843135040655925283c55c9163cd2c1052 (diff)
* 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".
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r--winsup/cygwin/devices.cc2
1 files changed, 1 insertions, 1 deletions
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
{