Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 661 → Rev 662

/kernel/trunk/core/dll.inc
431,9 → 431,7
 
xor eax, eax
mov ebx, [file_name]
; sub ebx, new_app_base
mov ecx, [info]
; sub ecx, new_app_base
 
mov [cmd], 5
mov [offset], eax
445,7 → 443,6
 
mov eax, 70
lea ebx, [cmd]
; sub ebx, new_app_base
int 0x40
ret
endp
517,6 → 514,10
file2 dd ?
endl
 
push ebx
push esi
push edi
 
lea eax, [attr]
stdcall get_fileinfo, [file_name], eax
test eax, eax
561,6 → 562,9
@@:
mov ebx, [file_size]
pop eax
pop edi
pop esi
pop ebx
ret
.cleanup:
stdcall kernel_free, [file]
567,6 → 571,9
.fail:
xor eax, eax
xor ebx, ebx
pop edi
pop esi
pop ebx
ret
endp