[lldb-dev] [PATCH] r124716 - make dirent usage more portable
Jai Menon
jmenon86 at gmail.com
Fri Feb 4 19:46:01 PST 2011
Hello,
Revision 124716 introduced some code to enumerate directories which
isn't quite POSIX compatible. Specifically, the 'd_namlen' entry isn't
guaranteed to be present in POSIX compatible environments [1] (for
example, on linux/glibc, the entry is 'd_reclen'). Attached patch
fixes this.
1. http://pubs.opengroup.org/onlinepubs/009695399/basedefs/dirent.h.html
--
Jai Menon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb_dirent_posix.patch
Type: text/x-patch
Size: 973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110204/0a1d87a4/attachment.bin>
More information about the lldb-dev
mailing list