head	1.5;
access;
symbols
	netbsd-11-0-RC6:1.5
	netbsd-11-0-RC5:1.5
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.2
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.2
	perseant-exfatfs-base:1.4
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.2
	netbsd-10-base:1.3;
locks; strict;
comment	@# @;


1.5
date	2025.03.30.09.51.50;	author rillig;	state Exp;
branches;
next	1.4;
commitid	veGmSzVhPiW2G4PF;

1.4
date	2024.05.25.21.11.30;	author rillig;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	d936hKlHsOYIoqbF;

1.3
date	2022.01.20.19.24.53;	author rillig;	state Exp;
branches;
next	1.2;
commitid	Yxq8JpD6fJR0kppD;

1.2
date	2022.01.20.19.16.25;	author rillig;	state Exp;
branches;
next	1.1;
commitid	9MlWiFeadyq2hppD;

1.1
date	2022.01.19.22.10.41;	author rillig;	state Exp;
branches;
next	;
commitid	huyj3UyHtxdwgipD;

1.4.2.1
date	2025.08.02.05.58.32;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;


desc
@@


1.5
log
@make: use '"filename" line 123' for locations instead of 'filename:123'

The format 'filename:123' is commonly used for identifying a location in
a file. Text editors recognize it and allow quick navigation through it.
The previous format was specific to make and would have required custom
support in editors.

The new format was already used in stack traces, except for the first
line. Now all lines use the same format.
@
text
@make: dep-duplicate.tmp:1: warning: duplicate script for target "all" ignored
make: dep-duplicate.main:3: warning: using previous script for "all" defined here
main-output
exit status 0
@


1.4
log
@tests/make: rename temporary file

The filename extension '.inc' is reserved for files that are checked
into version control.
@
text
@d1 2
a2 2
make: "dep-duplicate.tmp" line 1: warning: duplicate script for target "all" ignored
make: "dep-duplicate.main" line 3: warning: using previous script for "all" defined here
@


1.4.2.1
log
@Sync with HEAD
@
text
@d1 2
a2 2
make: dep-duplicate.tmp:1: warning: duplicate script for target "all" ignored
make: dep-duplicate.main:3: warning: using previous script for "all" defined here
@


1.3
log
@make: fix filename in warning about duplicate script (since 2018-12-22)
@
text
@d1 1
a1 1
make: "dep-duplicate.inc" line 1: warning: duplicate script for target "all" ignored
@


1.2
log
@tests/make: refine test for wrong diagnostic line

To trigger the faulty code path, the file where the targets gets its
first command must be included via its relative path.  That was the case
when running 'cd usr.bin/make && make test' but not when running the
tests via ATF.
@
text
@d2 1
a2 1
make: "dep-duplicate.inc" line 3: warning: using previous script for "all" defined here
@


1.1
log
@tests/make: demonstrate wrong location in diagnostic (since 2018-12-22)

When a target has multiple places where commands are defined, the
diagnostics mixed up the filename in some cases.
@
text
@d2 2
a3 2
make: "dep-duplicate.inc" line 15: warning: using previous script for "all" defined here
first
@

