Follow-up Comment #1, bug #66268 (group make):

Messed up error message about a failure to remove an intermediate file.


$ cat makefile
all: hello.x
%.x: b/%.q; $(info $@ from $<)
b/%.q:; mkdir b; touch $@; chmod -w b
$ make
mkdir b; touch b/hello.q; chmod -w b
hello.x from b/hello.q
rm b/hello.qmake:
unlink: b/hello.q: Permission denied



The message about the removal of the intermediate file is "rm b/hello.q".
Here "rm b/hello.q" is concatenated with "make:\n".

With this patch applied

rm b/hello.q
make: unlink: b/hello.q: Permission denied




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66268>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to