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:
CleverMouse 2013-01-14 09:26:21 +00:00
parent de94fe74ac
commit 8819a40f56

View File

@ -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