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

Diff for /src/usr.bin/patch/inp.c between version 1.9 and 1.10

version 1.9, 2002/07/04 04:22:48 version 1.10, 2003/07/16 16:06:53
Line 320 
Line 320 
 Reg1 LINENUM line;  Reg1 LINENUM line;
 int whichbuf;                           /* ignored when file in memory */  int whichbuf;                           /* ignored when file in memory */
 {  {
     if (line < 1 || line > input_lines)      if (line < 1 || line > input_lines) {
         return "";          say2("No such line %ld in input file, ignoring\n", line);
           return NULL;
       }
     if (using_plan_a)      if (using_plan_a)
         return i_ptr[line];          return i_ptr[line];
     else {      else {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10