projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0052ac3
)
Avoid looking for File::Glob when we don't need it.
author
Nick Ing-Simmons
<nik@tiuk.ti.com>
Tue, 19 Dec 2000 21:34:06 +0000
(21:34 +0000)
committer
Nick Ing-Simmons
<nik@tiuk.ti.com>
Tue, 19 Dec 2000 21:34:06 +0000
(21:34 +0000)
p4raw-id: //depot/perl@8201
ext/Encode/compile
patch
|
blob
|
history
diff --git
a/ext/Encode/compile
b/ext/Encode/compile
index
3a106f3
..
406b411
100755
(executable)
--- a/
ext/Encode/compile
+++ b/
ext/Encode/compile
@@
-38,7
+38,7
@@
sub encode_M
return &encode_S;
}
-
@ARGV = map(glob($_),@ARGV) if $^O eq 'MSWin32'
;
+
eval "\@ARGV = map(glob(\$_),\@ARGV)" if ($^O eq 'MSWin32')
;
my $cname = shift(@ARGV);
chmod(0666,$cname) if -f $cname && !-w $cname;