[PATCH] add <sys/dir.h>

Eric Blake eblake@redhat.com
Sun Aug 22 13:55:00 GMT 2010

On 08/11/2010 08:38 AM, Corinna Vinschen wrote:
>> <dirent.h> should be providing the C++ guards.  If it is, this instance
>> in <sys/dir.h> is redundant; if it isn't, then <dirent.h> needs fixing.
>> /me goes to check...
>> Hmm - <dirent.h> _is_ providing C++ guards, but then it includes
>> <sys/dirent.h> inside guards.  Which means <sys/dirent.h> needs fixing too.
> Why?  An application should never include sys/dirent.h directly, right?

Fair enough for <sys/dirent.h>; but we should still remove the redundant
guards from <sys/dir.h>.

Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20100822/4aec507b/attachment.sig>

More information about the Newlib mailing list