[BACK]Return to ttyin.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/ttyin.c between version 1.9 and 1.10

version 1.9, 2015/11/09 02:59:06 version 1.10, 2015/11/09 03:02:23
Line 33 
Line 33 
          */           */
         tty = open("/dev/tty", O_RDONLY);          tty = open("/dev/tty", O_RDONLY);
         if (tty < 0)          if (tty < 0)
                 tty = 2;                  tty = STDERR_FILENO;
 }  }
   
 /*  /*

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10