diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2009-08-27 16:19:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2009-08-27 16:19:28 +0000 |
commit | b7f5ad085124a99744ae40715274e883f8461659 (patch) | |
tree | f194ede5673cdb211dba854b336abc74df3abad7 /regress | |
parent | bf2e754350c1fb7e3b93a2dc42e445c7055f1d1e (diff) |
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@
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions