Artifacts Associated With Ticket 930530ffffffffffffffffffffffffffffffffff
Ticket change [3e6321ef4d] (rid 121259) by tauvan on 2004-04-06 16:02:50:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.4.6"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tauvan"
- subsystem initialized to: "08. Environment Variables"
- title initialized to: "env-multiple FAILED env variables"
- type initialized to: "Bug"
Ticket change [791df39759] (rid 90069) by tauvan on 2004-05-08 03:13:12:
- 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.
- login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"
- icomment:
Ticket change [600f834189] (rid 115928) by tauvan on 2004-05-12 03:05:32:
- 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
- login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"
- icomment:
Ticket change [2899f76b5c] (rid 88723) by hobbs on 2004-05-12 03:09:51:
- assignee changed to: "wolfsuit"
Ticket change [6f5bc3b14d] (rid 100305) by tauvan on 2004-05-18 03:02:50:
- 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. - login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"
- icomment:
Ticket change [789b41e706] (rid 89990) by breakermike on 2004-10-17 00:52:24:
- 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 } { - login: "breakermike"
- mimetype: "text/plain"
- username: "breakermike"
- icomment:
Ticket change [814666d313] (rid 117000) by das on 2006-08-21 10:55:29:
- assignee changed to: "das"
- closedate changed to: "2006-08-21T03:55:29"
- closer changed to: "das"
- icomment:
Logged In: YES user_id=90580 fixed long ago
- login: "das"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "das"