mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
'make' prints an extra leading `make: ' and extra trailing newline if
there is no target to make. % make make: make: no target to make. % Beause the function Punt() in main.c takes care of leading 'make:' and trailing newline, so, there is no need to pass explicitly. Submitted by: enami@ba2.so-net.or.jp Obtained from: NetBSD GNATS
This commit is contained in:
parent
f12c3c93de
commit
fe6ab298ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17259
@ -2606,7 +2606,7 @@ Parse_MainName()
|
||||
main = Lst_Init (FALSE);
|
||||
|
||||
if (mainNode == NILGNODE) {
|
||||
Punt ("make: no target to make.\n");
|
||||
Punt ("no target to make.");
|
||||
/*NOTREACHED*/
|
||||
} else if (mainNode->type & OP_DOUBLEDEP) {
|
||||
(void) Lst_AtEnd (main, (ClientData)mainNode);
|
||||
|
Loading…
Reference in New Issue
Block a user