=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/inp.c,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** src/usr.bin/patch/inp.c 2003/12/08 22:44:18 1.31 --- src/usr.bin/patch/inp.c 2004/08/05 21:47:24 1.32 *************** *** 1,4 **** ! /* $OpenBSD: inp.c,v 1.31 2003/12/08 22:44:18 mickey Exp $ */ /* * patch - a program to apply diffs to original files --- 1,4 ---- ! /* $OpenBSD: inp.c,v 1.32 2004/08/05 21:47:24 deraadt Exp $ */ /* * patch - a program to apply diffs to original files *************** *** 27,33 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: inp.c,v 1.31 2003/12/08 22:44:18 mickey Exp $"; #endif /* not lint */ #include --- 27,33 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: inp.c,v 1.32 2004/08/05 21:47:24 deraadt Exp $"; #endif /* not lint */ #include *************** *** 265,271 **** if (lines_allocated < 100) lines_allocated = 100; ! if (!reallocate_lines(&lines_allocated)) return false; /* now scan the buffer and build pointer array */ --- 265,271 ---- if (lines_allocated < 100) lines_allocated = 100; ! if (!reallocate_lines(&lines_allocated)) return false; /* now scan the buffer and build pointer array */ *************** *** 358,364 **** last_line_missing_eol = i > 0 && buf[i - 1] != '\n'; if (last_line_missing_eol && maxlen == i) maxlen++; ! if (revision != NULL) { if (!found_revision) { if (force) { --- 358,364 ---- last_line_missing_eol = i > 0 && buf[i - 1] != '\n'; if (last_line_missing_eol && maxlen == i) maxlen++; ! if (revision != NULL) { if (!found_revision) { if (force) {