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/pinfo.cc
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/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 8a1780c82..a526770f9 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -375,7 +375,7 @@ _pinfo::_ctty (char *buf)
void
_pinfo::set_ctty (tty_min *tc, int flags, fhandler_termios *fh)
{
- debug_printf ("old %s, ctty %d, tc->ntty %d flags & O_NOCTTY %p", __ctty (), ctty, tc->ntty, flags & O_NOCTTY);
+ debug_printf ("old %s, ctty device number %p, tc->ntty device number %p flags & O_NOCTTY %p", __ctty (), ctty, tc->ntty, flags & O_NOCTTY);
if ((ctty <= 0 || ctty == tc->ntty) && !(flags & O_NOCTTY))
{
ctty = tc->ntty;