[cvs-nhc98] Fix amusing bug with .hat extensions.
Malcolm Wallace
malcolm@sparud.net
Wed, 30 May 2001 16:06:07 +0200 (CEST)
malcolm: Wed May 30 16:06:06 CEST 2001
Update of /usr/src/master/nhc/src/tracer/hat
In directory hinken:/tmp/cvs-serv6939
Modified Files:
utils.c
Log Message:
Fix amusing bug with .hat extensions.
hat-stack abc -> looked for file abc.hat
hat-stack test -> looked for file tes.hat
hat-stack mat -> looked for file m.hat
hat-stack abchat -> looked for file ab.hat
I.e. the routine (rmext()) to find and remove an existing '.hat'
extension was flawed.