mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +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>
|
2002-09-24 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* screen.c (string_file_nuid): Fix a warning with uClibc.
|
* 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
|
#ifdef HAVE_GETPT
|
||||||
/* getpt () is a GNU extension (glibc 2.1.x) */
|
/* getpt () is a GNU extension (glibc 2.1.x) */
|
||||||
pty_master = getpt ();
|
pty_master = getpt ();
|
||||||
|
#elif IS_AIX
|
||||||
|
strcpy (pty_name, "/dev/ptc");
|
||||||
|
pty_master = open (pty_name, O_RDWR);
|
||||||
#else
|
#else
|
||||||
strcpy (pty_name, "/dev/ptmx");
|
strcpy (pty_name, "/dev/ptmx");
|
||||||
pty_master = open (pty_name, O_RDWR);
|
pty_master = open (pty_name, O_RDWR);
|
||||||
|
Loading…
Reference in New Issue
Block a user