diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-28 15:46:00 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-28 15:46:00 +0000 |
commit | e6ba8355139d41af875894f1adb2156352d617f3 (patch) | |
tree | 2277b9aa346c7a610fa296a9d9a2e040d58a28a9 /winsup/cygwin/devices.cc | |
parent | 5c770c843135040655925283c55c9163cd2c1052 (diff) | |
download | cygnal-e6ba8355139d41af875894f1adb2156352d617f3.tar.gz cygnal-e6ba8355139d41af875894f1adb2156352d617f3.tar.bz2 cygnal-e6ba8355139d41af875894f1adb2156352d617f3.zip |
* 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.cc | 2 |
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 { |