Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-06
02:04 • Ticket [218915ffff] auto_mkIndex uses platform dependend file pathes status ... artifact: 82bd36c1cb user: dgp
2000-10-26
08:31 • Closed ticket [218915ffff]. artifact: 8706fb1ac5 user: welch
01:07 • New ticket [218915ffff]. artifact: 6512327562 user: nobody

auto_mkIndex uses platform dependend file pathes

Closed / Fixed218915ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:50
OriginalBugID: 2701 Bug
Version: 8.2
SubmitDate: '1999-09-10'
LastModified: '2000-01-27'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: ericm
OS: All
Machine: NA
FixedDate: '2000-01-27'
FixedInVersion: 8.3
ClosedDate: '2000-10-25'


Name:

Roger Schneider



ReproducibleScript:

aut_mkIndex should use platform independent pathnames when

    subdirectories are added to the tclIndex.

    Same is Also true for creating a pkgIndex.

    

    Example:

    

    auto_mkIndex ./ glymna/*.tcl



Patch:

** /extra/tcl/tcl8.2.0/library/auto.tclFri Apr 16 02:46:56 1999

--- /usr/local/lib/tcl8.2/auto.tclFri Sep  3 10:18:50 1999

***************

*** 480,486 ****

      variable index

      variable scriptFile

      append index [list set auto_index([fullname $name])] \

!     " \[list source \[file join \$dir [list $scriptFile]\]\]\n"

  }

  

  # Conditionally add support for Tcl byte code files.  There are some

--- 480,488 ----

      variable index

      variable scriptFile

      append index [list set auto_index([fullname $name])] \

!     [format { [list source [file join $dir %s]];

! }\

!     [file split $scriptFile]];

  }

  

  # Conditionally add support for Tcl byte code files.  There are some

***************

*** 507,513 ****

      variable index

      variable scriptFile

      append index [list set auto_index([fullname $name])] \

!     " \[list source \[file join \$dir [list $scriptFile]\]\]\n"

  }

      }

  }

--- 509,517 ----

      variable index

      variable scriptFile

      append index [list set auto_index([fullname $name])] \

!     [format { [list source [file join $dir %s]];

! }\

!     [file split $scriptFile]];

  }

      }

  }



PatchFiles:

auto.tcl





This fix is integrated in 8.3.  Thanks for the patch.

- eric
 
-- 01/27/2000 ericm
welch Closed ticket [218915ffff]. [History diff]2000-10-26 08:31:16
dgp Ticket [218915ffff]: 3 changes [History diff]2001-04-06 02:04:04
Log in (anonymous is fine) to add a comment.