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

Diff for /src/usr.bin/unifdef/unifdef.c between version 1.17 and 1.18

version 1.17, 2014/04/30 06:06:09 version 1.18, 2015/02/17 05:16:09
Line 838 
Line 838 
                         if (ferror(input))                          if (ferror(input))
                                 err(2, "can't read %s", filename);                                  err(2, "can't read %s", filename);
                         /* append the missing newline at eof */                          /* append the missing newline at eof */
                         strcpy(tline + len, newline);                          strlcpy(tline + len, newline, sizeof(tline) - len);
                         cp += strlen(newline);                          cp += strlen(newline);
                         linestate = LS_START;                          linestate = LS_START;
                 } else {                  } else {

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