* 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.
This commit is contained in:
Christopher Faylor
2011-06-16 23:00:00 +00:00
parent 4d046729d1
commit 6f294f8601
4 changed files with 11 additions and 2 deletions

View File

@ -156,6 +156,8 @@ fhandler_console::set_unit ()
}
dev ().parse (devset);
if (devset != FH_ERROR)
pc.file_attributes (FILE_ATTRIBUTE_NORMAL);
return created;
}