diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 21:23:12 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 21:23:12 -0800 |
commit | c0e783eb6e8c12d12c9dfbc62c4d5f820e6df61d (patch) | |
tree | a7c1f4a3669bd7e69d10d802942acf888e51cfa1 /path.h | |
parent | 399c78fbf74f0495c6b3ffd3871356c7dfdfbb13 (diff) |
Excised some halloc
Diffstat (limited to 'path.h')
-rw-r--r-- | path.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -57,13 +57,10 @@ bool path_can_get_cdpath(const wcstring &in); bool path_get_cdpath_string(const wcstring &in, wcstring &out, const env_vars &vars); /** - Remove doulbe slashes and trailing slashes from a path, - e.g. transform foo//bar/ into foo/bar. - - The returned string is allocated using the specified halloc - context. + Remove double slashes and trailing slashes from a path, + e.g. transform foo//bar/ into foo/bar. The string is modified in-place. */ -wchar_t *path_make_canonical( void *context, const wchar_t *path ); +void path_make_canonical( wcstring &path ); #endif |