* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.

This commit is contained in:
Christopher Faylor
2003-12-26 18:26:17 +00:00
parent 91301b852f
commit 39add36fc3
3 changed files with 11 additions and 4 deletions

View File

@ -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 ();