Discussion:
Tilde expansion bug in Tk 9.0 for Windows
Add Reply
Michael Soyka
2024-10-27 21:13:54 UTC
Reply
Permalink
Tcl/Tk developers-

Although automatic tilde expansion has been removed from Tcl version 9,
I found one instance in the Tk sources where it hasn't been addressed.
Specifically, in tk/win/winMain.c, the Tcl variable "tcl_rcFileName" is
apparently given the value "~/wishrc.tcl".

I noticed this because my version of wish90 does not source this file as
earlier versions did.

-mike
Gerald Lester
2024-10-27 23:10:14 UTC
Reply
Permalink
Post by Michael Soyka
Tcl/Tk developers-
Although automatic tilde expansion has been removed from Tcl version 9,
I found one instance in the Tk sources where it hasn't been addressed.
Specifically, in tk/win/winMain.c, the Tcl variable "tcl_rcFileName" is
apparently given the value "~/wishrc.tcl".
I noticed this because my version of wish90 does not source this file as
earlier versions did.
Did you file a bug report on this at https://core.tcl-lang.org/tk/ticket
Michael Soyka
2024-10-27 23:30:23 UTC
Reply
Permalink
Post by Gerald Lester
Post by Michael Soyka
Tcl/Tk developers-
Although automatic tilde expansion has been removed from Tcl version
9, I found one instance in the Tk sources where it hasn't been
addressed. Specifically, in tk/win/winMain.c, the Tcl variable
"tcl_rcFileName" is apparently given the value "~/wishrc.tcl".
I noticed this because my version of wish90 does not source this file
as earlier versions did.
Did you file a bug report on this at https://core.tcl-lang.org/tk/ticket
No, I did not. Thank you for the link- I will do so.

-mike
Harald Oehlmann
2024-10-28 07:56:16 UTC
Reply
Permalink
Post by Gerald Lester
Post by Michael Soyka
Tcl/Tk developers-
Although automatic tilde expansion has been removed from Tcl version
9, I found one instance in the Tk sources where it hasn't been
addressed. Specifically, in tk/win/winMain.c, the Tcl variable
"tcl_rcFileName" is apparently given the value "~/wishrc.tcl".
I noticed this because my version of wish90 does not source this file
as earlier versions did.
Did you file a bug report on this at https://core.tcl-lang.org/tk/ticket
No, I did not.  Thank you for the link- I will do so.
-mike
This is a known bug which could not be fixed as the tilde expansion did
not have a C interface jet.
This will be corrected by currently TIP 701 (in voting).

https://core.tcl-lang.org/tk/tktview/fcfddc9f6d

The file you found were not jet in the list. I added it to this bug.

Thanks for all,
Harald
Harald Oehlmann
2024-10-28 08:10:00 UTC
Reply
Permalink
Please continue within the Ticket. Apparently, a fix in TCL was not
copied to Tk.

Thanks,
Harald
Post by Harald Oehlmann
Post by Gerald Lester
Post by Michael Soyka
Tcl/Tk developers-
Although automatic tilde expansion has been removed from Tcl version
9, I found one instance in the Tk sources where it hasn't been
addressed. Specifically, in tk/win/winMain.c, the Tcl variable
"tcl_rcFileName" is apparently given the value "~/wishrc.tcl".
I noticed this because my version of wish90 does not source this
file as earlier versions did.
Did you file a bug report on this at https://core.tcl-lang.org/tk/ticket
No, I did not.  Thank you for the link- I will do so.
-mike
This is a known bug which could not be fixed as the tilde expansion did
not have a C interface jet.
This will be corrected by currently TIP 701 (in voting).
https://core.tcl-lang.org/tk/tktview/fcfddc9f6d
The file you found were not jet in the list. I added it to this bug.
Thanks for all,
Harald
Loading...