-
Notifications
You must be signed in to change notification settings - Fork 706
/
c_rehash.patch
32 lines (32 loc) · 1021 Bytes
/
c_rehash.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- openssl-1.0.2d-orig/tools/c_rehash.in 2015-07-09 04:57:15.000000000 -0700
+++ openssl-1.0.2d/tools/c_rehash.in 2015-12-02 16:10:33.404878794 -0800
@@ -165,14 +165,14 @@
$hash .= ".$suffix";
if ($symlink_exists) {
symlink $fname, $hash;
- print "link $fname -> $hash\n" if $verbose;
+ print "link $fname => $hash\n";
} else {
open IN,"<$fname" or die "can't open $fname for read";
open OUT,">$hash" or die "can't open $hash for write";
print OUT <IN>; # does the job for small text files
close OUT;
close IN;
- print "copy $fname -> $hash\n" if $verbose;
+ print "copy $fname => $hash\n";
}
$hashlist{$hash} = $fprint;
}
@@ -200,10 +200,10 @@
$hash .= ".r$suffix";
if ($symlink_exists) {
symlink $fname, $hash;
- print "link $fname -> $hash\n" if $verbose;
+ print "link $fname => $hash\n";
} else {
system ("cp", $fname, $hash);
- print "cp $fname -> $hash\n" if $verbose;
+ print "cp $fname => $hash\n";
}
$hashlist{$hash} = $fprint;
}