Skip to content
Tcl Source Code History Of Ticket 930530ffffffffff
Login

History Of Ticket 930530ffffffffff

Artifacts Associated With Ticket 930530ffffffffff

  1. Ticket change [3e6321ef4d] (rid 121259) by tauvan on 2004-04-06 16:02:50:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      as local only (notRoot)
      
      machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
      for additional info see:
       [910323] 20 failures with 8.4.6 on MacOS X 10.3, many env 
      related
      
      ---- Result was:
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      
      ==== env-2.1 FAILED
      
      
      ---- Result was:
      NAME1=test string
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      NAME1=test string
      ==== env-2.2 FAILED
      
      
      ---- Result was:
      NAME1=test string
      NAME2=more
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=more
      ==== env-2.3 FAILED
      
      
      ---- Result was:
      NAME1=test string
      NAME2=more
      XYZZY=garbage
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=more
      XYZZY=garbage
      ==== env-2.4 FAILED
      
      
      ---- Result was:
      NAME1=test string
      NAME2=new value
      XYZZY=garbage
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      NAME1=test string
      NAME2=new value
      XYZZY=garbage
      ==== env-3.1 FAILED
      
      
      ---- Result was:
      NAME1=test string
      XYZZY=garbage
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      NAME1=test string
      XYZZY=garbage
      ==== env-4.1 FAILED
      
      
      ---- Result was:
      XYZZY=garbage
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ---- Result should have been (exact matching):
      XYZZY=garbage
      ==== env-4.2 FAILED
      
      
      ---- Result was:
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      §=¶
      ---- Result should have been (exact matching):
      §=¶
      ==== env-4.3 FAILED
      
      
      ---- Result was:
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      §=§
      ---- Result should have been (exact matching):
      §=§
      ==== env-4.4 FAILED
      
      
      ---- Result was:
      __CF_USER_TEXT_ENCODING=0x1F5:0:0
      ¶=§
      ---- Result should have been (exact matching):
      ¶=§
      ==== env-4.5 FAILED
      
      
      support data:
       when from shell(SHELL=/bin/tcsh) "env"
       both local and root have "__CF_USER_TEXT_ENCODING=
      0x1F5:0:0"
      
       unset env($name) removes everything
       prior to tests "PATH" is added
       in "proc getenv" prior to "exec" only "PATH"
       when running "printenvScript" prior to any executions
         as local ONLY "__CF_USER_TEXT_ENCODING" is added to env
      
      my conclusion:
       OSX has a bug or tcsh does, my bet is on the OSX.
       possible solution:
        add to "printenvScript":
      
          if {$tcl_platform(os) == "Darwin"} {
      lrem names __CF_USER_TEXT_ENCODING
          }
      
      Thanks;
      Steven
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tauvan"
    9. subsystem initialized to: "08. Environment Variables"
    10. title initialized to: "env-multiple FAILED env variables"
    11. type initialized to: "Bug"
  2. Ticket change [791df39759] (rid 90069) by tauvan on 2004-05-08 03:13:12:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
        New info:
      I created a file "printenv" which I renamed "printenv2" to make
      sure no conflict with printenv.
        From tclsh shell:
      % exec /Users/steven/Desktop/tclproj/build/tcltest /Users/steven/
      Desktop/tclproj/build/printenv2
        Result:
      Exact match to test result. No __CF_USER_TEXT_ENCODING.
      
      Could this be a result of "catch"? I keep looking, but if I'm missing
      something please let me know.
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  3. Ticket change [600f834189] (rid 115928) by tauvan on 2004-05-12 03:05:32:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
        More info:
      the error depends on the location of
      unset env($name).
      if unset is outside the script an error occurs
      if unset is placed inside the script no error
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  4. Ticket change [2899f76b5c] (rid 88723) by hobbs on 2004-05-12 03:09:51:

    1. assignee changed to: "wolfsuit"
  5. Ticket change [6f5bc3b14d] (rid 100305) by tauvan on 2004-05-18 03:02:50:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
        More info: unset env($name) outside printenvScript
      These are based on what is inside test:
      
      if   foreach ... puts "$p=$env($p)"  ok
      if   exec /bin/tcsh << env  ok
      if   exec /...../build/tcltest << $printenvScript
              returns __CF_USER_TEXT_ENCODING=0x1F5:0:0
      if   exec /bin/sh << env
              returns ...HOME, PWD, LOGNAME, SHLVL, _
      
      Not sure what's happening in execvp may have to do
      with environ
      Default shell is /bin/tcsh
      Any pointers you may have would help.
      
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  6. Ticket change [789b41e706] (rid 89990) by breakermike on 2004-10-17 00:52:24:

    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"
  7. Ticket change [814666d313] (rid 117000) by das on 2006-08-21 10:55:29:

    1. assignee changed to: "das"
    2. closedate changed to: "2006-08-21T03:55:29"
    3. closer changed to: "das"
    4. icomment:
      Logged In: YES 
      user_id=90580
      
      fixed long ago
      
      
    5. login: "das"
    6. mimetype: "text/plain"
    7. resolution changed to: "Out of Date"
    8. status changed to: "Closed"
    9. username: "das"