ksh EOF problem
P.J. Mitchell
cca04 at seq1.keele.ac.uk
Thu Jan 10 04:48:03 AEST 1991
Has anyone found why ksh hangs on receiving EOF on Suns yet ? I've
seen the question asked but I've not seen an answer here.
I've had a look at ksh using dbx on my Sun and it *appears* that the
problem lies in the getsc_() function in ksh/src/lex.c which defines
EOF to be 0 instead of -1. Is this anything to do with it ?
Yours in hope....
--
Paul Mitchell (CMA#136(18) MAG#65715 DoD#0145) | Computer Centre,
JANET: p.j.mitchell at uk.ac.keele.seq1 | Keele University, Keele,
USENET: p.j.mitchell at seq1.keele.ac.uk | Staffordshire, ST5 5BG, U.K.
BITNET: p.j.mitchell%seq1.keele.ac.uk at ukacrl | (+44 or 0)782 621111 ext 3302
More information about the Comp.unix.shell
mailing list