OpenBSD CVS

CVS log for src/include/fts.h


[BACK] Up to [local] / src / include

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_8


Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 27 16:19:27 2009 UTC (14 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Don't stop traversing a directory hierarchy if we reach SHRT_MAX,
just stop updating fts_level so we don't overflow it.  This allows
rm, find, etc to operate on very deep hierarchies.  Consumers of
fts(3) do need to be aware that the actual level may be larger
than fts_level.  During the next libc major bump we will make
fts_level an int instead of a short.  OK deraadt@

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.