projects
/
tclvfs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82cc5d3
)
ftp glob fix
author
Vince Darley
<vincentdarley@sourceforge.net>
Mon, 14 Oct 2002 11:10:42 +0000
(11:10 +0000)
committer
Vince Darley
<vincentdarley@sourceforge.net>
Mon, 14 Oct 2002 11:10:42 +0000
(11:10 +0000)
library/ftpvfs.tcl
patch
|
blob
|
history
diff --git
a/library/ftpvfs.tcl
b/library/ftpvfs.tcl
index 89ac5d20c9b6a9c1937251e3a0ecf413baed3bb4..d7e905f312950ea8ef80fa57bafac5968d7318a2 100644
(file)
--- a/
library/ftpvfs.tcl
+++ b/
library/ftpvfs.tcl
@@
-222,6
+222,9
@@
proc vfs::ftp::matchindirectory {fd path actualpath pattern type} {
foreach p $ftpList {
foreach {name perms} [_parseListLine $p] {}
+ if {![string match $pattern $name]} {
+ continue
+ }
if {[::vfs::matchDirectories $type]} {
if {[string index $perms 0] == "d"} {
lappend res "$actualpath$name"