diff options
author | nicm <nicm> | 2019-12-16 16:39:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-12-16 16:39:03 +0000 |
commit | 1bdd4828bd0a13d6fb81c903078ad99ff2429b5d (patch) | |
tree | 8b7a92b596096fff6dc031ebab92ce55490a494b /tmux.h | |
parent | b4520aaf2cb56cd14519e2df9d99ea6efc8ddd03 (diff) | |
download | rtmux-1bdd4828bd0a13d6fb81c903078ad99ff2429b5d.tar.gz rtmux-1bdd4828bd0a13d6fb81c903078ad99ff2429b5d.tar.bz2 rtmux-1bdd4828bd0a13d6fb81c903078ad99ff2429b5d.zip |
If /dev/fd/X is a symlink and realpath() expands symlinks, /dev/fd/X
ends up pointing to the wrong place before it is passed to the client.
The path is only used internally so there is no real need for
realpath(), remove it and move the get_path function to file.c where all
the callers are.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2228,7 +2228,6 @@ void server_client_push_stdout(struct client *); void server_client_push_stderr(struct client *); void printflike(2, 3) server_client_add_message(struct client *, const char *, ...); -char *server_client_get_path(struct client *, const char *); const char *server_client_get_cwd(struct client *, struct session *); /* server-fn.c */ |