diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-22 07:38:57 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-22 07:38:57 +0400 |
commit | c90e1cf179187d5d188a3003db503ffd86d80cfe (patch) | |
tree | ad0890e2267f00de92aefc5a99d60017e4f15fe9 /winsup/cygwin/termios.cc | |
parent | 228f6b6e07f1b08620dc08f389263f228da0079f (diff) |
* fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has
already taken care of that.
* fhandler_console.cc (fhandler_console::open): Initialize handles to NULL.
(fhandler_console::close): Ditto. GNUify non-GNU formatted functions calls
throughout.
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r-- | winsup/cygwin/termios.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc index 706a31a87..13b5e5251 100644 --- a/winsup/cygwin/termios.cc +++ b/winsup/cygwin/termios.cc @@ -238,14 +238,14 @@ tcsetpgrp (int fd, pid_t pgid) extern "C" speed_t cfgetospeed (struct termios *tp) { - return __tonew_termios(tp)->c_ospeed; + return __tonew_termios (tp)->c_ospeed; } /* cfgetispeed: POSIX96 7.1.3.1 */ extern "C" speed_t cfgetispeed (struct termios *tp) { - return __tonew_termios(tp)->c_ispeed; + return __tonew_termios (tp)->c_ispeed; } /* cfsetospeed: POSIX96 7.1.3.1 */ |