Tcl Source Code

View Ticket
Login
Ticket UUID: 572025
Title: auto_path init disagrees with comment
Type: Bug Version: obsolete: 8.4a5
Submitter: cenderis Created on: 2002-06-21 09:53:18
Subsystem: 38. Init - Library - Autoload Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-06-22 02:12:06
Resolution: Fixed Closed By: dgp
    Closed on: 2002-06-21 19:12:06
Description:
The comment in init.tcl says

# Also add the directory where the executable is
located, plus ../lib
# relative to that path.

But since 8.2.2, the directory where the executable is
located isn't added to auto_path.  So either the code's
wrong or the comment is.
User Comments: dgp added on 2002-06-22 02:12:06:
Logged In: YES 
user_id=80530


...and relevant portions in 8.3.5.  committed to both branches.

dgp added on 2002-06-22 01:55:44:

File Added - 25572: init.patch

Logged In: YES 
user_id=80530


thanks for the report.  Here's a patch that fixes 
things, and also corrects some style guide
matters.  Look for the correction in 8.4b1.

Attachments: