Posix compatability patch from Jai Menon to avoid uses dirent struct members that aren't always available (sometimes d_namlen or d_reclen). Now strlen is used to avoid such issues.
Posix compatability patch from Jai Menon to avoid uses dirent struct members
that aren't always available (sometimes d_namlen or d_reclen). Now strlen is
used to avoid such issues.



git-svn-id: b33bab8abb5b18c12ee100cd7761ab452d00b2b0@125008 91177308-0d34-0410-b5e6-96231b3b80d8

llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb