mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 11:12:06 +03:00
1999-05-24 Brandon S. Allbery <allbery@ece.cmu.edu>
* subshell.c (pty_open_master): Added missing comma.p
This commit is contained in:
parent
8366f82278
commit
69a8697ad1
@ -1,3 +1,7 @@
|
||||
1999-05-24 Brandon S. Allbery <allbery@ece.cmu.edu>
|
||||
|
||||
* subshell.c (pty_open_master): Added missing comma.p
|
||||
|
||||
Mon May 17 07:37:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
|
||||
|
||||
* subshell.c (pty_open_master): use getpt () if available to open
|
||||
|
@ -1100,7 +1100,7 @@ static int pty_open_master (char *pty_name)
|
||||
pty_master = getpt ();
|
||||
#else
|
||||
strcpy (pty_name, "/dev/ptmx");
|
||||
pty_master = open (pty_name, O_RDWR)
|
||||
pty_master = open (pty_name, O_RDWR);
|
||||
#endif
|
||||
if (pty_master == -1
|
||||
|| grantpt (pty_master) == -1 /* Grant access to slave */
|
||||
|
Loading…
Reference in New Issue
Block a user