Skip to content

Commit

Permalink
Don't sort glob results.
Browse files Browse the repository at this point in the history
  • Loading branch information
aardvark179 committed Jun 9, 2021
1 parent 04b5a87 commit 56ed1c2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/ruby/truffleruby/core/dir_glob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,6 @@ def self.run(node, all_matches, glob_base_dir)
else
matches = []
node.call matches, nil, glob_base_dir
# Truffle: ensure glob'd files are always sorted in consistent order,
# it avoids headaches due to platform differences (OS X is sorted, Linux not).
matches.sort!
all_matches.concat(matches)
end
end
Expand Down

0 comments on commit 56ed1c2

Please sign in to comment.