OpenBSD CVS

CVS log for src/usr.bin/diff/diffdir.c


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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_2_BASE


Revision 1.40 / (download) - annotate - [select for diffs], Sun Nov 14 18:24:43 2010 UTC (13 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.39: +39 -42 lines
Diff to previous 1.39 (colored)

scandir() does not NULL-terminate the list of dirent structs so use
the returned count and set and end pointer instead.  we no longer
need to allocate a dummy array when diffing against a non-existent
directory so eliminate slurpdir() and call scandir() directly.
OK krw@

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.