delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/10/20:14:54

Date: Tue, 10 Jan 1995 16:38:33 +0800
From: tim AT pi DOT la DOT tce DOT com (Tim Freeman)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: opentv AT pi DOT la DOT tce DOT com
Subject: bug in djgpp's make

I just now fetched oak.oakland.edu:/pub/msdos/djgpp/mak371bn.zip and
verfied that it has the following bug.  If a makefile contains

foo.o: foo.c
	asdfasdf < foo.c > foo.o
	echo hi

and there is a file named foo.c but no executable named asdfasdf, it
prints

asdfasdf < foo.c > foo.o
Bad command or file name
echo hi
hi

It shouldn't do the echo hi.  Instead, it should stop once an error
happens.  In general, when there's a DOS command that redirects
standard input or output in the makefile, and that command gets an
error, it continues the make, and the error probably goes unnoticed.

By the way, the version of make in pub/msdos/gnuish/gmake371.zip on
oak.oakland.edu doesn't share this bug.

Tim

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019