Up to [local] / src / usr.bin / tmux
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_7
Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 16 16:39:03 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.4: +15 -3 lines
Diff to previous 1.4 (colored)
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.