summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-05-28 19:50:07 +0000
committerChristopher Faylor <me@cgf.cx>2004-05-28 19:50:07 +0000
commite3778517d9c6409c9c917db83ccac20de1800a29 (patch)
tree407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/tty.cc
parentdccc3e5d2c6059410c12feb9e5d26f3176334011 (diff)
downloadcygnal-e3778517d9c6409c9c917db83ccac20de1800a29.tar.gz
cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.tar.bz2
cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.zip
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive. Also perform whitespace cleanup.
Diffstat (limited to 'winsup/cygwin/tty.cc')
-rw-r--r--winsup/cygwin/tty.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc
index e374acb7c..eea5ec42e 100644
--- a/winsup/cygwin/tty.cc
+++ b/winsup/cygwin/tty.cc
@@ -325,19 +325,19 @@ tty::alive (const char *fmt)
return ev != NULL;
}
-HANDLE
+HANDLE
tty::open_output_mutex ()
{
return open_mutex (OUTPUT_MUTEX);
-}
+}
HANDLE
tty::open_input_mutex ()
{
return open_mutex (INPUT_MUTEX);
-}
+}
-HANDLE
+HANDLE
tty::open_mutex (const char *mutex)
{
char buf[CYG_MAX_PATH];