[gnu.utils.bug] GNU make 3.26 bug

james@bigtex.cactus.org (James Van Artsdalen) (12/12/88)

This is on a SysVr3 386 box, with my previously posted patches.

When GNU make gets a file via RCS and there is an error compiling the
file, make deletes the source file it retrieved.  This doesn't seem
useful.

Here's an example.  The file tmp.c does not exist, but RCS/tmp.c,v
does.  The resultant tmp.c has a deliberate syntax error, which causes
make to delete tmp.c.

/usr4/src/make-3.26> ./make tmp
co -q RCS/tmp.c,v tmp.c
gcc -g -O -c tmp.c -o tmp.o
tmp.c: In function main:
tmp.c:7: undeclared variable `quack' (first use here)
make: *** Error 1
rm -f tmp.c
rm -f tmp.o
(ERR:1)
/usr4/src/make-3.26> 
-- 
James R. Van Artsdalen		james@bigtex.cactus.org	  "Live Free or Die"
Dell Computer Co    9505 Arboretum Blvd Austin TX 78759		512-338-8789