mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* subshell.c (pty_open_master) [IS_AIX]: Open /dev/ptc, not
/dev/ptmx. From Sergey Pavlukhin <psi@dmng.ru>
This commit is contained in:
parent
c419491314
commit
a3f9820755
@ -1,3 +1,8 @@
|
||||
2002-09-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* subshell.c (pty_open_master) [IS_AIX]: Open /dev/ptc, not
|
||||
/dev/ptmx. From Sergey Pavlukhin <psi@dmng.ru>
|
||||
|
||||
2002-09-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* screen.c (string_file_nuid): Fix a warning with uClibc.
|
||||
|
@ -1151,6 +1151,9 @@ static int pty_open_master (char *pty_name)
|
||||
#ifdef HAVE_GETPT
|
||||
/* getpt () is a GNU extension (glibc 2.1.x) */
|
||||
pty_master = getpt ();
|
||||
#elif IS_AIX
|
||||
strcpy (pty_name, "/dev/ptc");
|
||||
pty_master = open (pty_name, O_RDWR);
|
||||
#else
|
||||
strcpy (pty_name, "/dev/ptmx");
|
||||
pty_master = open (pty_name, O_RDWR);
|
||||
|
Loading…
Reference in New Issue
Block a user