From Luchezar: IOCTL 4406 provided reverse AL output on regular

files - FF if EOF, 0 if not. It should output 0 if EOF, FF if not.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@651 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-08-06 19:47:24 +00:00
parent 2b0c219e5e
commit 3229fe3fc4

View File

@ -119,7 +119,7 @@ COUNT DosDevIOctl(lregs * r)
if (s->sft_flags & SFT_FDEVICE)
r->AL = s->sft_flags & SFT_FEOF ? 0xFF : 0;
else
r->AL = s->sft_posit >= s->sft_size ? 0xFF : 0;
r->AL = s->sft_posit >= s->sft_size ? 0 : 0xFF;
break;
case 0x07: