* (struct __DIR_cache): Switch order of members so that the buffer
given to NtQueryDirectoryFile is 8 byte aligned.
This commit is contained in:
parent
8ba248a94b
commit
bad25c125b
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2008-02-27 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* cygtls.cc (_cygtls::handle_threadlist_exception): Make it clear that
|
* cygtls.cc (_cygtls::handle_threadlist_exception): Make it clear that
|
||||||
|
@ -1546,8 +1546,8 @@ fhandler_disk_file::rmdir ()
|
|||||||
|
|
||||||
struct __DIR_cache
|
struct __DIR_cache
|
||||||
{
|
{
|
||||||
|
char __cache[DIR_BUF_SIZE]; /* W2K needs this buffer 8 byte aligned. */
|
||||||
ULONG __pos;
|
ULONG __pos;
|
||||||
char __cache[DIR_BUF_SIZE];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define d_cachepos(d) (((__DIR_cache *) (d)->__d_dirname)->__pos)
|
#define d_cachepos(d) (((__DIR_cache *) (d)->__d_dirname)->__pos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user