forked from KolibriOS/kolibrios
fix errors in error handling for copy operations
git-svn-id: svn://kolibrios.org@3165 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
de94fe74ac
commit
8819a40f56
@ -488,7 +488,9 @@ copy_file_worker2:
|
|||||||
popf
|
popf
|
||||||
jmp .ret
|
jmp .ret
|
||||||
.copyfailed:
|
.copyfailed:
|
||||||
|
pop eax
|
||||||
pop ecx
|
pop ecx
|
||||||
|
push eax
|
||||||
test ecx, ecx
|
test ecx, ecx
|
||||||
jnz @f
|
jnz @f
|
||||||
mov eax, [source_hModule]
|
mov eax, [source_hModule]
|
||||||
@ -848,8 +850,7 @@ copy_file:
|
|||||||
.cancel.ret:
|
.cancel.ret:
|
||||||
xor eax, eax
|
xor eax, eax
|
||||||
inc eax
|
inc eax
|
||||||
popad
|
jmp .done
|
||||||
ret
|
|
||||||
|
|
||||||
delete_last_name_from_end:
|
delete_last_name_from_end:
|
||||||
lodsb
|
lodsb
|
||||||
|
Loading…
Reference in New Issue
Block a user