diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-05 04:01:43 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-05 04:01:43 +0000 |
commit | ce006ffa7f6985c2dbe6128d74ba6beda562743a (patch) | |
tree | f06848351ed62f45e8034e2d5c5eb69f36a5f87e /winsup/cygwin/fhandler_console.cc | |
parent | 147d2ab4949aec9a3b510e1ee43399a9e6261122 (diff) | |
download | cygnal-ce006ffa7f6985c2dbe6128d74ba6beda562743a.tar.gz cygnal-ce006ffa7f6985c2dbe6128d74ba6beda562743a.tar.bz2 cygnal-ce006ffa7f6985c2dbe6128d74ba6beda562743a.zip |
* dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares.
* path.cc (mount_info::conv_to_win32_path): Set flags to binary when mount
entry is not found.
(mount_info::set_flags_from_win32_path): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index f7d1f37cf..cc948d3d0 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -1,6 +1,6 @@ /* fhandler_console.cc - Copyright 1996, 1997, 1998, 1999, 2000, 2001 Red Hat, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. This file is part of Cygwin. @@ -713,14 +713,6 @@ fhandler_console::tcflush (int queue) int fhandler_console::output_tcsetattr (int, struct termios const *t) { - /* Ignore the optional_actions stuff, since all output is emitted - instantly */ - -#if 0 - /* Enable/disable LF -> CRLF conversions */ - set_w_binary ((t->c_oflag & ONLCR) ? 0 : 1); -#endif - /* All the output bits we can ignore */ DWORD flags = ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT; @@ -743,8 +735,10 @@ fhandler_console::input_tcsetattr (int, struct termios const *t) oflags = 0; DWORD flags = 0; +#if 0 /* Enable/disable LF -> CRLF conversions */ set_r_binary ((t->c_iflag & INLCR) ? 0 : 1); +#endif /* There's some disparity between what we need and what's available. We've got ECHO and ICANON, they've @@ -819,13 +813,6 @@ fhandler_console::tcgetattr (struct termios *t) t->c_cflag |= CS8; -#if 0 - if (!get_r_binary ()) - t->c_iflag |= IGNCR; - if (!get_w_binary ()) - t->c_oflag |= ONLCR; -#endif - DWORD flags; if (!GetConsoleMode (get_io_handle (), &flags)) |