mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Don't close random file descriptor on error, from J Raynor.
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
pid_t
|
||||
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
|
||||
{
|
||||
int slave;
|
||||
int slave = -1;
|
||||
char *path;
|
||||
pid_t pid;
|
||||
|
||||
|
Reference in New Issue
Block a user