Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#128 stat_kb icon not shown for binary files with CVSNT

open
nobody
None
5
2008-04-10
2008-04-10
David Roth
No

Using CVSNT (2.5.03) with TkCVS, the binary file icon (stat_kb) is not shown for binary files.

The code which controls this is in dircanvas.tcl
if {[string match "*-kb*" $DirList($w:$f:option)]} {
set DirList($w:$f:icon) stat_kb
}

To have it work with CVSNT, the match expression should be changed from *-kb* to *b*
if {[string match "*b*" $DirList($w:$f:option)]} {
set DirList($w:$f:icon) stat_kb
}

Discussion