From 39add36fc3bc0cf244a408572d5a66fd4ce36eed Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 26 Dec 2003 18:26:17 +0000 Subject: * path.cc (mount_item::build_win32): Backslashify paths in non-managed case. --- winsup/cygwin/exceptions.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index ee550915f..228d2c8e2 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -710,11 +710,10 @@ setup_handler (int sig, void *handler, struct sigaction& siga, _threadinfo *tls) for (int i = 0; i < CALL_HANDLER_RETRY; i++) { - __stack_t retaddr; __stack_t *retaddr_on_stack = tls->stackptr - 1; - if (retaddr_on_stack >= tls->stack - && (retaddr = InterlockedExchange ((LONG *) retaddr_on_stack, 0))) + if (retaddr_on_stack >= tls->stack) { + __stack_t retaddr = InterlockedExchange ((LONG *) retaddr_on_stack, 0); if (!retaddr) continue; tls->reset_exception (); -- cgit v1.2.3