Skip to content

Commit

Permalink
remove the added lsort (the glob result is machine specific and the r…
Browse files Browse the repository at this point in the history
…esulting sort was problematic on the test machine)
  • Loading branch information
rkhaldi committed May 13, 2020
1 parent b90e48c commit f5c3b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/globrecur.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ proc for_recursive_glob {var dirlist globlist cmd {depth 1}} {
return -code $code $result
}

foreach file [lsort [readdir $dir]] {
foreach file [readdir $dir] {
set file [file join $dir $file]
if [file isdirectory $file] {
set fileTail [file tail $file]
Expand Down

1 comment on commit f5c3b8b

@resuna
Copy link
Member

@resuna resuna commented on f5c3b8b May 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some more detail here. The lsort was specifically to deal with the readdir result being file-system specific.

Please sign in to comment.