ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/src/ptytty.C
(Generate patch)

Comparing libptytty/src/ptytty.C (file contents):
Revision 1.55 by sf-exg, Thu Apr 9 13:50:36 2015 UTC vs.
Revision 1.56 by sf-exg, Fri May 1 13:12:17 2015 UTC

377 377
378#if defined(HAVE_ISASTREAM) && defined(HAVE_STROPTS_H) 378#if defined(HAVE_ISASTREAM) && defined(HAVE_STROPTS_H)
379 if (isastream (tty) == 1) 379 if (isastream (tty) == 1)
380# endif 380# endif
381 { 381 {
382 if (!ioctl (tty, I_FIND, "ptem"))
382 ioctl (tty, PT_I_PUSH, "ptem"); 383 ioctl (tty, PT_I_PUSH, "ptem");
384
385 if (!ioctl (tty, I_FIND, "ldterm"))
383 ioctl (tty, PT_I_PUSH, "ldterm"); 386 ioctl (tty, PT_I_PUSH, "ldterm");
387
388 if (!ioctl (tty, I_FIND, "ttcompat"))
384 ioctl (tty, PT_I_PUSH, "ttcompat"); 389 ioctl (tty, PT_I_PUSH, "ttcompat");
385 } 390 }
386#endif 391#endif
387 392
388#if UTMP_SUPPORT 393#if UTMP_SUPPORT
389# if defined(HAVE_STRUCT_UTMP) && !defined(HAVE_UTMP_PID) 394# if defined(HAVE_STRUCT_UTMP) && !defined(HAVE_UTMP_PID)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines