/kernel/trunk/posix/posix.inc |
---|
88,9 → 88,6 |
cmp [ebp+FILED.handle], ecx |
jne .fail |
test [ebp+FILED.mode], F_READ |
jz .fail |
mov ebp, [ebp+FILED.file] |
mov eax, [ebp] |
jmp dword [eax+FILEOP_READ*4] |
117,8 → 114,6 |
jne .fail |
cmp [ebp+FILED.handle], ecx |
jne .fail |
test [ebp+FILED.mode], F_WRITE |
jz .fail |
mov ebp, [ebp+FILED.file] |
mov eax, [ebp] |