Tk Library Source Code

View Ticket
Login
Ticket UUID: 465768
Title: Browser invocation broken on Unix
Type: Bug Version: None
Submitter: dgp Created on: 2001-09-27 19:20:28
Subsystem: tclapps :: tkchat Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-09-28 02:37:03
Resolution: Fixed Closed By: dgp
    Closed on: 2001-09-27 19:37:03
Description:
Clicking on a URL is intended to launch 
a browser, but that fails on Unix.

Problem is that [findExecutable] uses
[upvar] and [gotoUrl] passes env(BROWSER)
as the variable name to be linked to by
[upvar] -- the global ::env array.

Linking to an element of the ::env array
via [upvar] has been broken in Tcl since
release 8.1 -- this is Tcl Bug 219372.

We should be able to work around this by
change "env" to any other global array
variable name.
User Comments: dgp added on 2001-09-28 02:37:03:
Logged In: YES 
user_id=80530

committed fix.

dgp added on 2001-09-28 02:31:05:

File Added - 11290: patch

Logged In: YES 
user_id=80530

Attached patch works for me.

Attachments: