OpenBSD CVS

CVS log for src/usr.bin/file/Attic/apprentice.c


[BACK] Up to [local] / src / usr.bin / file

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_1


Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 31 18:06:27 2006 UTC (17 years, 7 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.22: +7 -3 lines
Diff to previous 1.22 (colored)

Don't blindly truncate buf[strlen(buf) - 1] without checking for
newline.

Initial patch from Charles Longeau <chl at tuxfamily dot org>, fix
inspired by comment by Anonymous Coward on undeadly.

OK moritz@, ian@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.