summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2008-01-29 17:50:29 +0000
committeryar <yar@FreeBSD.org>2008-01-29 17:50:29 +0000
commit050f1fe2976b266b02140b04a20f11259ebcd949 (patch)
tree7157124c00dbd32acbb239d5d0205d1222f04309 /lib/libc
parent5290562b54a79867037d93fef3eec3c33805a0e8 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud