diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-01-01 13:10:08 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-01-01 13:10:08 +0000 |
| commit | e42881fa380ee2f299dc00bfbc38356f7919b0d2 (patch) | |
| tree | 399b34395a36ebb3796054430ca5bf279a1e7b27 /src/file.hh | |
| parent | 968e573d803df664b4280ed30e22846a9b08963c (diff) | |
Fix remaining uses of hardcoded /tmp to get the socket paths
Fixes #1097
Diffstat (limited to 'src/file.hh')
| -rw-r--r-- | src/file.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file.hh b/src/file.hh index 006d0cfd..a103d61f 100644 --- a/src/file.hh +++ b/src/file.hh @@ -24,6 +24,8 @@ String parse_filename(StringView filename); String real_path(StringView filename); String compact_path(StringView filename); +StringView tmpdir(); + // returns pair { directory, filename } std::pair<StringView, StringView> split_path(StringView path); |
