projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT2772 update: c_rehash was broken
[openssl.git]
/
tools
/
c_rehash.in
diff --git
a/tools/c_rehash.in
b/tools/c_rehash.in
index cd2cc39f271f6eb789dc97d8ef476d7d6a55eb18..887e9271254e49857e8bee23aaed9e79a971df27 100644
(file)
--- a/
tools/c_rehash.in
+++ b/
tools/c_rehash.in
@@
-93,10
+93,10
@@
sub hash_dir {
my %hashlist;
print "Doing $_[0]\n";
chdir $_[0];
my %hashlist;
print "Doing $_[0]\n";
chdir $_[0];
+ opendir(DIR, ".");
+ my @flist = readdir(DIR);
+ closedir DIR;
if ( $removelinks ) {
if ( $removelinks ) {
- opendir(DIR, ".");
- my @flist = readdir(DIR);
- closedir DIR;
# Delete any existing symbolic links
foreach (grep {/^[\da-f]+\.r{0,1}\d+$/} @flist) {
if(-l $_) {
# Delete any existing symbolic links
foreach (grep {/^[\da-f]+\.r{0,1}\d+$/} @flist) {
if(-l $_) {