Tcl Source Code

View Ticket
Login
Ticket UUID: 1072603
Title: tcl_pkgPath cross-platform documentation
Type: Bug Created on: 2004-11-24 16:57:38
Submitter: dgp Assigned to: dgp
Subsystem: 38. Init - Library - Autoload Severity: Minor
Priority: 5 Medium Last modified: 2021-01-16 07:42:29
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: obsolete: 8.5a2
Description:
The variable tcl_pkgPath is
defined on the unix platform only.
It does not exist in a Tcl interp
on Windows.

However, several places in the
documentation makes reference
to the tcl_pkgPath variable and
how its value should be used.

We should either restore
tcl_pkgPath on Windows, or
drop it on Unix, or
update the docs to either not
refer to it, or to note its lack
of cross-platform validity.
User Comments:
dgp added on 2005-07-08 02:53:34:
Logged In: YES 
user_id=80530


Look into removal
of tcl_pkgPath as the
most attractive way to
make the platforms
consistent again.

mjanssen added on 2021-01-16 07:42:29:
Why not use something like $::env(APPDATA)/tcl8.x on windows to make it cross-platfrom again. This would then also be the answer to the question:

Where should I install Tcl packages.