[comp.os.minix] Bug termcap.c

poole@forty2.UUCP (Simon Poole) (01/21/89)

[This is slowly turning into a habit...]

The termcap.c distributed with ST-Minix 1.1 (and the fixed version that was
posted here sometime ago) have the following error (fixed in PC Minix 1.3):
the variable incr (used as a flag in tgoto for the %i specification) is not 
initialized to 0 in tgoto, this should be done every time the function is 
called (best solution: move the declaration of incr into tgoto and initialize
it to zero).  

-- 
----------------------------------------------------------------------------
UUCP:   ...mcvax!cernvax!forty2!poole			Simon Poole
BITNET: K538915@CZHRZU1A
----------------------------------------------------------------------------