Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e4c7dc49bf0fe78c4c467ff32f0f43ecfb5f8785
Ticket: 793779ffffffffffffffffffffffffffffffffff
Include source files only once
User & Date: dgp on 2003-08-25 21:24:03
Changes

  1. closedate changed to: "2003-08-25T14:24:03"
  2. closer changed to: "dgp"
  3. icomment:
    Logged In: YES 
    user_id=80530
    
    
    OK, let me try putting is a different
    way then.
    
    [source] is, and should remain, a
    fairly primitive operation.  The kind
    of one-time loading constraint is
    better implemented as a higher level
    routine that calls on [source] just to
    do the sourcing work, and maintains
    its own store of already sourced 
    file names to avoid duplication.
    This can be achieved in a [proc]
    of less than 20 lines, so I don't see
    any need for changes to the core
    interface.
    
    When writing that [proc], consider
    applying [file normalize] to the file
    names before storing.
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. status changed to: "Closed"
  7. username: "dgp"