mirror of
https://github.com/mirror/make.git
synced 2025-03-26 01:30:31 +08:00
* tests/scripts/features/vpathplus: Fix output for big-endian systems.
Our hashing algorithm gives different ordering on LE vs BE systems. Patch from Dmitry Goncharov <dgoncharov@users.sf.net>.
This commit is contained in:
parent
f84821b249
commit
b0eab8ecb9
@ -96,10 +96,12 @@ $make_name: *** [$makefile:13: notarget.b] Error 1
|
||||
|
||||
push(@touchedfiles, "inter.a", "inter.b");
|
||||
|
||||
my $be = pack("L", 1) eq pack("N", 1);
|
||||
my $intfiles = $be ? "inter.c inter.b" : "inter.b inter.c";
|
||||
$answer = "cat ${VP}inter.d > inter.c
|
||||
cat inter.c > inter.b 2>/dev/null || exit 1
|
||||
cat inter.b > inter.a
|
||||
rm inter.b inter.c
|
||||
rm $intfiles
|
||||
";
|
||||
&compare_output($answer,&get_logfile(1));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user