Skip to content
Snippets Groups Projects
Commit 40500f6d authored by Connor Atherton's avatar Connor Atherton
Browse files

Merge branch 'hmoore-r7-bug/macosx-completion-crash'

parents 9d1114d9 19f0604c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -8441,6 +8441,8 @@ module RbReadline
 
if (@rl_filename_completion_desired)
filename = File.expand_path(text)
return temp_string_index unless File.exists? filename
s = (nontrivial_match && !@rl_completion_mark_symlink_dirs) ?
File.lstat(filename) : File.stat(filename)
if s.directory?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment