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@.