Hi! Sorry for delay with reply.
On Fri, Jun 16, 2006 at 01:47:10AM -0300, MartÃn Ferrari wrote: > I'm in the process of adopting the vtun package, and closing its current > bugs. > > Regarding your report and patch, I need to clear a doubt, since I'm no > expert in the field. It seems to me that your patch would make vtun > use the compatability routine which uses open directly to /dev/ptyXY, > and I think that those are legacy PTYs. From what I read in the > getpt() man page, getpt -or posix_openpt- is the correct way to open > unix98 ptys. > > Can you comment on this? No, my patch does not disable anything. It just _enables_ autoconf check for legacy/unix ptys. vtun-2.6/config.h.in is a file to be changed by configure (really, a file to be used when config.h is created). If config.h.in has not entries for HAVE_GETPT,HAVE_GRANTPT,etc, they will not be defined after configure run. When I add these #undef's, configure changes them to #defines if unix98 pty's are supported. Regards, Sasha. -- Alexandra N. Kossovsky OKTET Labs (http://www.oktetlabs.ru/) Phones: +7(812)956-42-86(mobile) +7(812)428-67-09(office) e-mail: [EMAIL PROTECTED]