diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-26 18:26:17 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-26 18:26:17 +0000 |
commit | 39add36fc3bc0cf244a408572d5a66fd4ce36eed (patch) | |
tree | f9edadabb4a4c5f47f334728cc76885079ee7abb /winsup/cygwin/exceptions.cc | |
parent | 91301b852f178803c696706bd2b40d98f932645c (diff) | |
download | cygnal-39add36fc3bc0cf244a408572d5a66fd4ce36eed.tar.gz cygnal-39add36fc3bc0cf244a408572d5a66fd4ce36eed.tar.bz2 cygnal-39add36fc3bc0cf244a408572d5a66fd4ce36eed.zip |
* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 5 |
1 files changed, 2 insertions, 3 deletions
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 (); |