[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66268] Messed up error message about a failure to remove an interm
From: |
Dmitry Goncharov |
Subject: |
[bug #66268] Messed up error message about a failure to remove an intermediate file. |
Date: |
Sat, 28 Sep 2024 08:46:08 -0400 (EDT) |
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/
signature.asc
Description: PGP signature