OpenBSD CVS

CVS log for src/usr.bin/lndir/lndir.c


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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_3_4


Revision 1.14 / (download) - annotate - [select for diffs], Tue May 13 16:55:22 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.13: +4 -5 lines
Diff to previous 1.13 (colored)

Use dp->d_namlen instead of strlen(dp->d_name) and check for
dp->d_namlen == 0.  Shouldn't be possible but the check prevents
any possibilty of using an array index of -1.

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.