From e3778517d9c6409c9c917db83ccac20de1800a29 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 28 May 2004 19:50:07 +0000 Subject: * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it starts with a drive. Also perform whitespace cleanup. --- winsup/cygwin/exceptions.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 44f37cbbe..66879ee4b 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -830,13 +830,13 @@ ctrl_c_handler (DWORD type) if (myself->ctty != -1) { if (type == CTRL_CLOSE_EVENT) - { + { sig_send (NULL, SIGHUP); saw_close = true; return FALSE; } if (!saw_close && type == CTRL_LOGOFF_EVENT) - { + { /* Check if the process is actually associated with a visible window station, one which actually represents a visible desktop. If not, the CTRL_LOGOFF_EVENT doesn't concern this process. */ -- cgit v1.2.3