wok diff linld/stuff/src/CRTL.ASM @ rev 20634

linld: fix open()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 17:51:51 2019 +0100 (2019-01-08)
parents ab907169f156
children cbcb33ee9044
line diff
     1.1 --- a/linld/stuff/src/CRTL.ASM	Sat Jan 05 17:23:23 2019 +0100
     1.2 +++ b/linld/stuff/src/CRTL.ASM	Tue Jan 08 17:51:51 2019 +0100
     1.3 @@ -204,6 +204,7 @@
     1.4  		xor	cx,cx			; attributes
     1.5  		xor	di,di			; alias hint
     1.6  		cwd				; action = open
     1.7 +		stc
     1.8                  int	21h
     1.9  		pop	si di bx
    1.10                  jnc	doret
    1.11 @@ -338,7 +339,7 @@
    1.12  isolseek:
    1.13  		extrn	_isostate:isostate
    1.14  		mov	ax,[_isostate.fd]
    1.15 -	global	@lseekset2$qipul
    1.16 +	global	@lseekset2$qipul:near
    1.17  @lseekset2$qipul:
    1.18  		mov	dx,[bx]
    1.19  		mov	cx,[bx+2]