mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +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