projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GH1123: sort dir before rehash
[openssl.git]
/
tools
/
c_rehash.in
diff --git
a/tools/c_rehash.in
b/tools/c_rehash.in
index a23a8f3f22516f5510974d6fc8da642d30140950..949e44f0751072cf0f9cc8146d0aac26ee9c924c 100644
(file)
--- a/
tools/c_rehash.in
+++ b/
tools/c_rehash.in
@@
-109,7
+109,7
@@
sub hash_dir {
print "Doing $_[0]\n";
chdir $_[0];
opendir(DIR, ".");
print "Doing $_[0]\n";
chdir $_[0];
opendir(DIR, ".");
- my @flist = readdir(DIR);
+ my @flist =
sort
readdir(DIR);
closedir DIR;
if ( $removelinks ) {
# Delete any existing symbolic links
closedir DIR;
if ( $removelinks ) {
# Delete any existing symbolic links