Renamed env_vars to env_vars_snapshot_t

Cleanup of non-wcstring version of path_get_path
This commit is contained in:
ridiculousfish
2012-07-20 20:39:31 -07:00
parent b290fd33b9
commit b08fb86637
19 changed files with 95 additions and 194 deletions

View File

@@ -609,7 +609,7 @@ static wcstring format_error(const wchar_t *prefix, const wcstring &str) {
Find the full path and commandname from a command string 'str'.
*/
static void parse_cmd_string(const wcstring &str, wcstring &path, wcstring &cmd) {
if (! path_get_path_string(str, path)) {
if (! path_get_path(str, &path)) {
/** Use the empty string as the 'path' for commands that can not be found. */
path = L"";
}