mirror of
https://github.com/tmux/tmux.git
synced 2025-11-03 00:06:07 +00:00
Use open(".")/fchdir() to save and restore current directory rather than
getcwd()/chdir().
This commit is contained in:
@@ -135,7 +135,7 @@ error:
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
char*
|
||||
char *
|
||||
osdep_get_cwd(int fd)
|
||||
{
|
||||
int name[] = { CTL_KERN, KERN_PROC_CWD, 0 };
|
||||
|
||||
Reference in New Issue
Block a user