libc: fts: handle dirent_t name length correctly
commit0b112b7436ee4e2ca04a381dfa43fcc52c0940be
authorLauri Tirkkonen <lotheac@iki.fi>
Thu, 16 Feb 2017 11:53:13 +0000 (16 13:53 +0200)
committerLauri Tirkkonen <lotheac@iki.fi>
Fri, 17 Feb 2017 09:44:57 +0000 (17 11:44 +0200)
tree1c86886b8a6bb9de1efe7ab926875be20d27b8b2
parent101a8ae2c4c264ea1062d725786bf6e23ee618fc
libc: fts: handle dirent_t name length correctly

we don't have a d_namlen, so use strlen for now.
usr/src/lib/libc/port/gen/fts.c