getc: don't clobber AH; return CF=1, AL=0 on end of file
authorH. Peter Anvin <hpa@zytor.com>
Tue, 12 Feb 2008 23:48:25 +0000 (15:48 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 12 Feb 2008 23:48:25 +0000 (15:48 -0800)
commitc9e35f37217f25f1f576754df464a8ec0d6d22fe
treef7448dfe918207f0f2429112fd5846be9a0d7f22
parent2ad6602fb7401b415b058f5dcf70f377b9113412
getc: don't clobber AH; return CF=1, AL=0 on end of file

Don't clobber AH when calling getc; when returning with CF=1 (EOF),
always return with AL=0.
getc.inc