mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 18:50:37 +02:00
* correction for THandle length change
This commit is contained in:
parent
25555f3efb
commit
7403f31f07
@ -132,12 +132,12 @@ end;
|
|||||||
function SetFileSize (Handle: THandle; FileSize: longint): word; assembler;
|
function SetFileSize (Handle: THandle; FileSize: longint): word; assembler;
|
||||||
asm
|
asm
|
||||||
movl $0x7F18, %eax
|
movl $0x7F18, %eax
|
||||||
movzwl Handle, %ebx
|
movl Handle, %ebx
|
||||||
movl FileSize,%edx
|
movl FileSize,%edx
|
||||||
call syscall
|
call syscall
|
||||||
jc .LSetFSize1
|
jc .LSetFSize1
|
||||||
movl $0x4202, %eax
|
movl $0x4202, %eax
|
||||||
movzwl Handle, %ebx
|
movl Handle, %ebx
|
||||||
movl $0, %edx
|
movl $0, %edx
|
||||||
call syscall
|
call syscall
|
||||||
movl $0, %eax
|
movl $0, %eax
|
||||||
@ -148,7 +148,10 @@ end;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.4 2002-09-07 16:01:24 peter
|
Revision 1.5 2002-09-22 16:04:19 hajny
|
||||||
|
* correction for THandle length change
|
||||||
|
|
||||||
|
Revision 1.4 2002/09/07 16:01:24 peter
|
||||||
* old logs removed and tabs fixed
|
* old logs removed and tabs fixed
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user