Up to [local] / src / usr.bin / diff
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_1
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@