# # patch "ChangeLog" # from [86e79b0436290502f6d5a2a2253ec81e45b7cd57] # to [96dd65742310dcf51d37080a0823a32ac1474b4f] # # patch "paths.cc" # from [d20a00ade17253e8dc4df9e2128eb4f92ec1aa8a] # to [aacb901db1e345dafc6e6426f4890710f6fb1650] # ======================================================================== --- ChangeLog 86e79b0436290502f6d5a2a2253ec81e45b7cd57 +++ ChangeLog 96dd65742310dcf51d37080a0823a32ac1474b4f @@ -1,5 +1,9 @@ 2005-08-24 Nathaniel Smith + * paths.cc (save_initial_path): Update for previous changes. + +2005-08-24 Nathaniel Smith + * paths.cc (test_system_path): Add tests for the from-any_path constructor. Add test for "~foo" handling. Start cleaning up path roots. ======================================================================== --- paths.cc d20a00ade17253e8dc4df9e2128eb4f92ec1aa8a +++ paths.cc aacb901db1e345dafc6e6426f4890710f6fb1650 @@ -5,6 +5,10 @@ #include +#include +#include +#include + #include "constants.hh" #include "paths.hh" #include "platform.hh" @@ -26,7 +30,7 @@ save_initial_path() { // FIXME: BUG: this only works if the current working dir is in utf8 - initial_path = system_path(get_current_working_dir()); + initial_abs_path = system_path(get_current_working_dir()); L(F("initial path is: %s") % initial_path); } @@ -44,10 +48,14 @@ find_and_go_to_working_copy(system_path const & search_root) { // unimplemented + + + // should do what find_working_copy in file_io.cc does, and what // allow_working_copy in app_state.cc does // should use change_current_working_dir when it finds the root - // should set path_prefix too + + // should set initial_rel_path and working_root I(false); }