Cleanup in dcrt0.cc and fork.cc
* dcrt0.cc (child_info_fork::alloc_stack): Fix formatting. * fork.cc (frok::parent): Fix formatting. (child_copy): Change type of res to BOOL. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
111f32f4ba
commit
81e6c7515d
@ -1,3 +1,9 @@
|
||||
2015-12-03 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* dcrt0.cc (child_info_fork::alloc_stack): Fix formatting.
|
||||
* fork.cc (frok::parent): Fix formatting.
|
||||
(child_copy): Change type of res to BOOL.
|
||||
|
||||
2015-12-03 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* crt0.cc (dll_crt0_1): Always restore the TEB stack info. Especially
|
||||
|
@ -683,7 +683,7 @@ child_copy (HANDLE hp, bool write, ...)
|
||||
SIZE_T done = 0;
|
||||
if (here + todo > high)
|
||||
todo = high - here;
|
||||
int res;
|
||||
BOOL res;
|
||||
if (write)
|
||||
res = WriteProcessMemory (hp, here, here, todo, &done);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user