diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-02-19 17:48:51 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-02-19 18:05:20 -0800 |
commit | aaa0c25ff7d30249e62a9d185e53e60dd7fdbc37 (patch) | |
tree | 025f77d5c2e810f2224e57d3efbb6ff443246465 /env_universal_common.cpp | |
parent | 2f43584727075708dc842975f5058947b57ba0c4 (diff) |
Large set of changes to how PATH is handled. Changed fish to no longer modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations.
Diffstat (limited to 'env_universal_common.cpp')
-rw-r--r-- | env_universal_common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/env_universal_common.cpp b/env_universal_common.cpp index dbda2377..f600e70a 100644 --- a/env_universal_common.cpp +++ b/env_universal_common.cpp @@ -425,7 +425,7 @@ static int read_byte(connection_t *src) if (src->buffer_consumed >= src->read_buffer.size()) { char local[ENV_UNIVERSAL_BUFFER_SIZE]; - + ssize_t res = read(src->fd, local, sizeof local); // debug(4, L"Read chunk '%.*s'", res, src->buffer ); @@ -600,7 +600,7 @@ static void parse_message(wchar_t *msg, { wchar_t *val; const wcstring key(name, tmp - name); - + val = tmp+1; val = unescape(val, 0); |