Overview
| Artifact ID: | 137024c574938e9ad4df66d5f2f2a09e2608e933 |
|---|---|
| Ticket: | 1379287fffffffffffffffffffffffffffffffff
TclFSNormalizeAbsolutePath() fails on /tmp/.. |
| User & Date: | georgeps on 2006-04-07 11:01:20 |
Changes
- icomment:
Logged In: YES user_id=585068 $ make shell LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; TCL_LIBRARY="/gps/src/cvs/HEAD/tcl/library"; export TCL_LIBRARY; ./tclsh % file normalize ../.. /gps/src/cvs % file normalize /tmp/../.. % file normalize /.. / % file normalize /../.. % So the / result isn't occuring here. Now notice the cd behavior here after a fresh start: $ make shell LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; TCL_LIBRARY="/gps/src/cvs/HEAD/tcl/library"; export TCL_LIBRARY; ./tclsh % cd /tmp/../.. couldn't change working directory to "/tmp/../..": no such file or directory % Now here is a similar pattern, but the cd doesn't fail (perhaps from the failed normalize): $ make shell LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; TCL_LIBRARY="/gps/src/cvs/HEAD/tcl/library"; export TCL_LIBRARY; ./tclsh % file normalize /tmp/../.. % file normalize ../.. /gps/src/cvs % cd /tmp/../.. % pwd So we try this: $ make shell LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; TCL_LIBRARY="/gps/src/cvs/HEAD/tcl/library"; export TCL_LIBRARY; ./tclsh % file normalize /tmp/../.. % cd /tmp/../.. couldn't change working directory to "/tmp/../..": no such file or directory % So some internal state is being corrupt, and causing other failures :/ FWIW the tclkit built with the same sources has this problem: $ ./tclkit85-magichimo.localdomain % cd /tmp/../.. % pwd % - login: "georgeps"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "georgeps"