Return to unifdef.c CVS log | Up to [local] / src / usr.bin / unifdef |
version 1.17, 2014/04/30 06:06:09 | version 1.18, 2015/02/17 05:16:09 | ||
---|---|---|---|
|
|
||
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 { |