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

Diff for /src/usr.bin/mail/cmd1.c between version 1.26 and 1.27

version 1.26, 2007/04/03 18:01:49 version 1.27, 2008/07/15 19:13:25
Line 370 
Line 370 
                 }                  }
                 if (page || nlines > (*cp ? atoi(cp) : realscreenheight)) {                  if (page || nlines > (*cp ? atoi(cp) : realscreenheight)) {
                         restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0);                          restoreterm = (tcgetattr(fileno(stdin), &tbuf) == 0);
                         obuf = Popen(value("PAGER"), "w");                          cp = value("PAGER");
                           obuf = Popen(cp, "w");
                         if (obuf == NULL) {                          if (obuf == NULL) {
                                 warn("%s", cp);                                  warn("%s", cp);
                                 obuf = stdout;                                  obuf = stdout;

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27