Hello,
Attached patch fixes subshell support for FreeBSD 5.x which has grantpt(3).
What kind of problem do you have? Does your patch work with FreeBSD 4.x?
Yes my patch works with FreeBSD 4.x.
FreeBSD 4.x does not have grantpt(3) so BSD version of
pty_open_master is compiled in from
On Tue, 5 Aug 2003 16:59:56 +0300 (EEST) Nerijus Baliunas [EMAIL PROTECTED] wrote:
Yes my patch works with FreeBSD 4.x.
FreeBSD 4.x does not have grantpt(3) so BSD version of
pty_open_master is compiled in from subshell.c.
BTW, I've just compiled mc cvs on FreeBSD 4.5, and subshell does
On Tue, 5 Aug 2003 18:26:42 +0300 (EEST) Nerijus Baliunas [EMAIL PROTECTED] wrote:
IMHO BSD version of pty_open_master is flawed - for (ptr2) loop always
returns, so for (ptr1) loop only runs the first time, no?
No, sorry, it's OK, when I took a closer look. But why subshell doesn't
work on
hi, there!
On Mon, Jul 21, 2003 at 01:04:13AM -0400, Pavel Roskin wrote:
Attached patch fixes subshell support for FreeBSD 5.x which has grantpt(3).
What kind of problem do you have? Does your patch work with FreeBSD 4.x?
Yes my patch works with FreeBSD 4.x.
FreeBSD 4.x does not have
On Mon, 21 Jul 2003, Max Khon wrote:
FreeBSD 5.x has grantpt(3) and it is correctly detected in configure script
so HAVE_GRANTPT version of pty_open_master is compiled in.
On the other hand FreeBSD 5.x does not have getpt(), /dev/ptc
or /dev/ptmx but has posix_openpt(3) instead.
Thank you
On Tue, 15 Jul 2003, Max Khon wrote:
hi, there!
Attached patch fixes subshell support for FreeBSD 5.x which has grantpt(3).
What kind of problem do you have? Does your patch work with FreeBSD 4.x?
--
Regards,
Pavel Roskin
___
Mc-devel mailing
hi, there!
Attached patch fixes subshell support for FreeBSD 5.x which has grantpt(3).
/fjoe
--- 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,