<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">20,22c20,29
&lt; my $sh;
&lt; if (-s $Config{sh}) {
&lt;   open FOO, "&lt;", $Config{sh} or die $!;
---
&gt; my ($sh_name,$sh)=($Config{sh});
&gt; if (-s $sh_name) {
&gt;     unless (open FOO, "&lt;", $sh_name) {
&gt; 	if ($! =~ /^No such file or directory/) {
&gt; 	    $sh_name.='.exe';
&gt; 	    open FOO, "&lt;", $sh_name or die $!;
&gt; 	}
&gt; 	else {die $!}
&gt;     }
&gt; 
26,29c33,36
&lt;   die "Can't slurp $Config{sh}: $!" unless defined $sh;
&lt;   die sprintf ("Slurped %d, but disk file $Config{sh} is %d bytes",
&lt; 	       length $sh, -s $Config{sh})
&lt;     unless length $sh == -s $Config{sh};
---
&gt;   die "Can't slurp $sh_name: $!" unless defined $sh;
&gt;   die sprintf ("Slurped %d, but disk file $sh_name is %d bytes",
&gt; 	       length $sh, -s $sh_name)
&gt;     unless length $sh == -s $sh_name;
66c73
&lt;     skip "Your configured shell, '$Config{sh}', is missing or size 0",7
---
&gt;     skip "Your configured shell, '$sh_name', is missing or size 0",7
70c77
&lt;     ok ((print GZ $sh), "print contents of $Config{sh}")
---
&gt;     ok ((print GZ $sh), "print contents of $sh_name")
74,75c81,82
&lt;     ok (compare (\*GZ, $Config{sh}) == 0,
&lt;         "compare compressed copy with '$Config{sh}'");
---
&gt;     ok (compare (\*GZ, $sh_name) == 0,
&gt;         "compare compressed copy with '$sh_name'");
</pre></body></html>