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_3


Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 5 14:29:46 2007 UTC (16 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.23: +5 -8 lines
Diff to previous 1.23 (colored)

use strcspn instead of strchr to properly overwrite '\n' in fgets returned buffer
check if the first byte is NUL instead of invoking strlen()

with help of ray@ "Looks OK" millert@

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.