* autoload.cc (wsock_init): Keep lock while modifying return address.
This commit is contained in:
parent
10800ca5f5
commit
c0508da25a
@ -1,3 +1,7 @@
|
|||||||
|
2004-06-21 Christopher Faylor <cgf@alum.bu.edu>
|
||||||
|
|
||||||
|
* autoload.cc (wsock_init): Keep lock while modifying return address.
|
||||||
|
|
||||||
2004-06-17 Corinna Vinschen <corinna@vinschen.de>
|
2004-06-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::open): Remove 9x specific code.
|
* fhandler.cc (fhandler_base::open): Remove 9x specific code.
|
||||||
|
@ -278,13 +278,13 @@ wsock_init ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
InterlockedDecrement (&here);
|
|
||||||
|
|
||||||
/* Kludge alert. Redirects the return address to dll_chain. */
|
/* Kludge alert. Redirects the return address to dll_chain. */
|
||||||
__asm__ __volatile__ (" \n\
|
__asm__ __volatile__ (" \n\
|
||||||
movl $dll_chain,4(%ebp) \n\
|
movl $dll_chain,4(%ebp) \n\
|
||||||
");
|
");
|
||||||
|
|
||||||
|
InterlockedDecrement (&here);
|
||||||
|
|
||||||
volatile retchain ret;
|
volatile retchain ret;
|
||||||
/* Set "arguments for dll_chain. */
|
/* Set "arguments for dll_chain. */
|
||||||
ret.low = (long) dll_func_load;
|
ret.low = (long) dll_func_load;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user