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

Diff for /src/usr.bin/diff/diffreg.c between version 1.51 and 1.52

version 1.51, 2003/10/28 13:23:59 version 1.52, 2003/11/10 18:51:35
Line 1119 
Line 1119 
                 col = 0;                  col = 0;
                 for (j = 0, lastc = '\0'; j < nc; j++, lastc = c) {                  for (j = 0, lastc = '\0'; j < nc; j++, lastc = c) {
                         if ((c = getc(lb)) == EOF) {                          if ((c = getc(lb)) == EOF) {
                                 puts("\n\\ No newline at end of file");                                  if (format == D_EDIT || format == D_REVERSE ||
                                 return (0);;                                      format == D_NREVERSE)
                                           warnx("No newline at end of file");
                                   else
                                           puts("\n\\ No newline at end of file");
                                   return (0);
                         }                          }
                         if (c == '\t' && tflag) {                          if (c == '\t' && tflag) {
                                 do {                                  do {

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52