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

Diff for /src/usr.bin/pr/pr.c between version 1.2 and 1.3

version 1.2, 1996/06/26 05:37:54 version 1.3, 1996/08/10 04:41:00
Line 1464 
Line 1464 
                 /*                  /*
                  * only pad with no headers when incomplete last line                   * only pad with no headers when incomplete last line
                  */                   */
                 if (!incomp)                  if (incomp &&
                         return(0);                      ((dspace && (putchar('\n') == EOF)) ||
                 if ((dspace && (putchar('\n') == EOF)) ||                       (putchar('\n') == EOF))) {
                     (putchar('\n') == EOF)) {  
                         pfail();                          pfail();
                         return(1);                          return(1);
                   }
                   /*
                    * but honor the formfeed request
                    */
                   if (formfeed) {
                           if (putchar('\f') == EOF) {
                                   pfail();
                                   return(1);
                           }
                 }                  }
                 return(0);                  return(0);
         }          }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3