[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.17 and 1.18

version 1.17, 2003/06/25 22:14:43 version 1.18, 2003/06/25 22:38:11
Line 1165 
Line 1165 
   
                 switch (ch) {                  switch (ch) {
                 case 'c':                  case 'c':
                         fetch(ixold, lowa, a - 1, input[0], "  ", 0);                          fetch(ixold, lowa, a - 1, input[0], " ", 0);
                         fetch(ixold, a, b, input[0], "- ", 0);                          fetch(ixold, a, b, input[0], "-", 0);
                         fetch(ixnew, c, d, input[1], "+ ", 0);                          fetch(ixnew, c, d, input[1], "+", 0);
                         break;                          break;
                 case 'd':                  case 'd':
                         fetch(ixold, lowa, a - 1, input[0], "  ", 0);                          fetch(ixold, lowa, a - 1, input[0], " ", 0);
                         fetch(ixold, a, b, input[0], "- ", 0);                          fetch(ixold, a, b, input[0], "-", 0);
                         break;                          break;
                 case 'a':                  case 'a':
                         fetch(ixnew, lowc, c - 1, input[1], "  ", 0);                          fetch(ixnew, lowc, c - 1, input[1], " ", 0);
                         fetch(ixnew, c, d, input[1], "+ ", 0);                          fetch(ixnew, c, d, input[1], "+", 0);
                         break;                          break;
                 }                  }
                 lowa = b + 1;                  lowa = b + 1;
                 lowc = d + 1;                  lowc = d + 1;
         }          }
         fetch(ixnew, d + 1, upd, input[1], "  ", 0);          fetch(ixnew, d + 1, upd, input[1], " ", 0);
   
         context_vec_ptr = context_vec_start - 1;          context_vec_ptr = context_vec_start - 1;
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18