1999-05-24 Brandon S. Allbery <allbery@ece.cmu.edu>

* subshell.c (pty_open_master): Added missing comma.p
This commit is contained in:
Miguel de Icaza 1999-05-25 18:15:27 +00:00
parent 8366f82278
commit 69a8697ad1
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 */