diff options
author | yar <yar@FreeBSD.org> | 2008-01-29 17:50:29 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2008-01-29 17:50:29 +0000 |
commit | 050f1fe2976b266b02140b04a20f11259ebcd949 (patch) | |
tree | 7157124c00dbd32acbb239d5d0205d1222f04309 /lib/libc | |
parent | 5290562b54a79867037d93fef3eec3c33805a0e8 (diff) | |
download | FreeBSD-src-050f1fe2976b266b02140b04a20f11259ebcd949.zip FreeBSD-src-050f1fe2976b266b02140b04a20f11259ebcd949.tar.gz |
An average consumer of fts(3) that avoids keeping pointers to old
FTSENTs and uses only what fts_read() has just returned can rely
on fts_path being NUL-terminated. Under these conditions, a plain
vanilla "%s" format can be safely used to printf an fts_path.
OK'ed by: rwatson
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions