Ticket #53143: tty_TIOCGPTN.patch

File tty_TIOCGPTN.patch, 330 bytes (added by ballapete (Peter "Pete" Dyballa), 8 years ago)

Patch to delete TIOCPTYGNAME

  • src/unix/tty.c

    old new  
    4444  int dummy;
    4545
    4646  result = ioctl(fd, TIOCGPTN, &dummy) != 0;
    47 #elif defined(__APPLE__)
    48   char dummy[256];
    49 
    50   result = ioctl(fd, TIOCPTYGNAME, &dummy) != 0;
    5147#else
    5248  /* Fallback to ptsname
    5349   */