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

Diff for /src/usr.bin/cvs/diff.c between version 1.58 and 1.59

version 1.58, 2005/10/07 23:59:56 version 1.59, 2005/10/08 00:49:18
Line 1469 
Line 1469 
                 nc = f[i] - f[i - 1];                  nc = f[i] - f[i - 1];
                 if (diff_format != D_IFDEF && ch != '\0') {                  if (diff_format != D_IFDEF && ch != '\0') {
                         diff_output("%c", ch);                          diff_output("%c", ch);
                         if (Tflag && (diff_format == D_NORMAL || diff_format == D_CONTEXT                          if (Tflag && (diff_format == D_NORMAL ||
                             || diff_format == D_UNIFIED))                              diff_format == D_CONTEXT ||
                               diff_format == D_UNIFIED))
                                 diff_output("\t");                                  diff_output("\t");
                         else if (diff_format != D_UNIFIED)                          else if (diff_format != D_UNIFIED)
                                 diff_output(" ");                                  diff_output(" ");
Line 1481 
Line 1482 
                                 if (diff_format == D_RCSDIFF)                                  if (diff_format == D_RCSDIFF)
                                         warnx("No newline at end of file");                                          warnx("No newline at end of file");
                                 else                                  else
                                         diff_output("\n\\ No newline at end of file");                                          diff_output("\n\\ No newline at end of "
                                               "file");
                                 return (0);                                  return (0);
                         }                          }
                         if (c == '\t' && tflag) {                          if (c == '\t' && tflag) {

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59