mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
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.
This commit is contained in:
1
tmux.h
1
tmux.h
@ -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 */
|
||||
|
Reference in New Issue
Block a user