Overview
Artifact ID: | e1a04f14fad87cd6a436c86072fedf2cc71ebefc |
---|---|
Ticket: | f0036c69c9191b43a3631dd7f39a898b99517c69
scrolledhtml -import method fails on Windows with valid pathname. |
User & Date: | anonymous 2016-08-31 23:21:47 |
Changes
- icomment:
The code below from the scrolledhtml widget import method will not work with Windows file pathnames. It's wrong on a few counts. -link { # # got -link, so set path relative to current locale, if path # is a relative pathname # if {[string compare "." [file dirname $filename]] == 0} { set f [open $_cwd/$filename r] } else { if {[string index [file dirname $filename] 0] != "/" &&\ [string index [file dirname $filename] 0] != "~"} { set f [open $_cwd/$filename r] append _cwd / append _cwd [file dirname $filename] } else { set f [open $filename r] set _cwd [file dirname $filename] } } }
- login: "anonymous"
- mimetype: "text/x-fossil-plain"
- severity changed to: "Critical"
- status changed to: "Open"
- title changed to:
scrolledhtml -import method fails on Windows with valid pathname.
- type changed to: "Code_Defect"