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>2011-06-17 03:00:00 +0400
committerChristopher Faylor <me@cgf.cx>2011-06-17 03:00:00 +0400
commit6f294f8601d3d1b97ef6d67a8c2596001df8157e (patch)
tree4d033d2707c97eb2c752ca6e4fc5cac113d28f71 /winsup/cygwin/fhandler.h
parent4d046729d14fa71b685ce9573df207b45916e332 (diff)
* fhandler_console.cc (fhandler_console::set_unit): Set pc.file_attributes() to
reflect existence. * fhandler.h (fhandler_pty_common::fhandler_pty_common): Ditto. * pinfo.cc (_pinfo::set_ctty): Output device numbers in hex.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 34da53a87..8268a9ae7 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1140,7 +1140,7 @@ class fhandler_pty_common: public fhandler_termios
output_mutex (NULL),
input_mutex (NULL), input_available_event (NULL)
{
- // nothing to do
+ pc.file_attributes (FILE_ATTRIBUTE_NORMAL);
}
HANDLE output_mutex, input_mutex;
HANDLE input_available_event;