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:
5d59f95
)
In makemeta, pass the final file name as the second argument to safer_open()
author
Nicholas Clark
<nick@ccl4.org>
Sat, 14 May 2011 15:30:01 +0000
(16:30 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 19 May 2011 09:18:14 +0000
(10:18 +0100)
With this change, all callers to safer_open() pass 2 arguments.
Porting/makemeta
patch
|
blob
|
history
diff --git
a/Porting/makemeta
b/Porting/makemeta
index
c81aec5
..
37987a7
100644
(file)
--- a/
Porting/makemeta
+++ b/
Porting/makemeta
@@
-50,7
+50,7
@@
my %dirs;
@dirs = map { " - $_" } sort { lc $a cmp lc $b } @dirs;
-my $fh = safer_open($new_file);
+my $fh = safer_open($new_file
, $file
);
local $" = "\n";
print $fh <<"EOI";