given to NtQueryDirectoryFile is 8 byte aligned.
+2008-02-25 Corinna Vinschen <corinna@vinschen.de>
+
+ * (struct __DIR_cache): Switch order of members so that the buffer
+ given to NtQueryDirectoryFile is 8 byte aligned.
+
2008-02-27 Christopher Faylor <me+cygwin@cgf.cx>
* cygtls.cc (_cygtls::handle_threadlist_exception): Make it clear that
struct __DIR_cache
{
+ char __cache[DIR_BUF_SIZE]; /* W2K needs this buffer 8 byte aligned. */
ULONG __pos;
- char __cache[DIR_BUF_SIZE];
};
#define d_cachepos(d) (((__DIR_cache *) (d)->__d_dirname)->__pos)