Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 789b41e706fd2f637d9e3bf0d7a55444db2b61ef
Ticket: 930530ffffffffffffffffffffffffffffffffff
env-multiple FAILED env variables
User & Date: breakermike on 2004-10-17 00:52:24
Changes

  1. icomment:
    Logged In: YES 
    user_id=1140576
    
    for tcl8.4.7 on Mac OS X 10.2.8 in order to pass the tests/env.test 
    script
    
    re: __CF_USER_TEXT_ENCODING
    
    this appears to be introduced into the env by the OS so removing it 
    in the test sounds right.  I have not traced where it comes from.
    
    re: other vars in tests/env.test
    
    in order to properly load "dylib" files after the DYLD_LIBRARY_PATH 
    envar is set in the Makefile test target, it needs to be passed to the 
    children; one way as follows (in file tests/env.test)
    
    *** 107,109 ****
      # ('saved' env vars)
    ! foreach name {TCL_LIBRARY PATH LD_LIBRARY_PATH LIBPATH 
    DISPLAY SHLIB_PATH} {
        if {[info exists env2($name)]} {
    --- 114,117 ----
      # ('saved' env vars)
    ! ## add DYLD_LIBRARY_PATH for macosx
    ! foreach name {TCL_LIBRARY PATH LD_LIBRARY_PATH 
    DYLD_LIBRARY_PATH LIBPATH DISPLAY SHLIB_PATH} {
        if {[info exists env2($name)]} {
    
    Then, it needs to be excluded in printenvScript - so the resulting diff
    
    ***************
    *** 77,78 ****
    --- 77,85 ----
          }
    + 
    +     if {$tcl_platform(os) == "Darwin"} {
    +        ## take these out for macosx
    +        lrem names DYLD_LIBRARY_PATH
    +        lrem names __CF_USER_TEXT_ENCODING
    +     }
    +  
          foreach name {TCL_LIBRARY PATH LD_LIBRARY_PATH LIBPATH 
    PURE_PROG_NAME DISPLAY SHLIB_PATH } {
    
    
    
  2. login: "breakermike"
  3. mimetype: "text/plain"
  4. username: "breakermike"