millert
ec2fdb5af0
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@ |
15 years ago | |
---|---|---|
src | Don't stop traversing a directory hierarchy if we reach SHRT_MAX, | 15 years ago |