fat: sysfunction 70.4 update

git-svn-id: svn://kolibrios.org@6850 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2017-01-31 06:03:42 +00:00
parent 861e7b4ea9
commit abcb2b1bfa

View File

@ -3012,10 +3012,14 @@ fat_SetFileEnd:
lea ebx, [ebp+FAT.buffer]
call fs_write32_sys
test eax, eax
jnz .pop_ret11
mov eax, [esp+20]
sub eax, [esp+4]
cmp eax, 1000001h
jnc .pop_ret
mov eax, [edi+20-2]
mov ax, [edi+26]
mov edi, eax
jnz .pop_ret11
test edi, edi
jz .pop_ret
; now zero new data