diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-07-15 14:06:07 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-07-15 14:06:07 +0000 |
commit | 06f102782402f288e91c9718fd9acd4e9f5536dd (patch) | |
tree | f6a5ca0cb20b198f7257bb2d4c854e2da4c28375 /misc | |
parent | 63098d4f9de4d576d885edd00e2bd299855626fa (diff) | |
download | ports-06f102782402f288e91c9718fd9acd4e9f5536dd.tar.gz ports-06f102782402f288e91c9718fd9acd4e9f5536dd.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/mc/files/patch-src::subshell.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/mc/files/patch-src::subshell.c b/misc/mc/files/patch-src::subshell.c new file mode 100644 index 000000000000..9a8ced756e80 --- /dev/null +++ b/misc/mc/files/patch-src::subshell.c @@ -0,0 +1,11 @@ +--- src/subshell.c.orig Tue Jul 15 20:36:24 2003 ++++ src/subshell.c Tue Jul 15 20:36:56 2003 +@@ -1166,6 +1166,8 @@ + #elif IS_AIX + strcpy (pty_name, "/dev/ptc"); + pty_master = open (pty_name, O_RDWR); ++#elif defined(__FreeBSD__) ++ pty_master = posix_openpt(O_RDWR); + #else + strcpy (pty_name, "/dev/ptmx"); + pty_master = open (pty_name, O_RDWR); |