소스 검색

* comment about FileOpen return value modified

git-svn-id: trunk@3881 -
Tomas Hajny 19 년 전
부모
커밋
32774f91ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/emx/sysutils.pp

+ 1 - 1
rtl/emx/sysutils.pp

@@ -409,8 +409,8 @@ asm
 @FOpen1:
  mov eax, 7F2Bh
  call syscall
+(* syscall __open() returns -1 in case of error, i.e. exactly what we need *)
  pop ebx
- //check me, should return feInvalidHandle(=-1) if fail, other negative returned value are no more errors
 end {['eax', 'ebx', 'ecx', 'edx']};