* pinfo.cc (pinfo_dummy): Initialize to correct size.

This commit is contained in:
Christopher Faylor 2002-06-09 03:54:07 +00:00
parent 63f4c63a19
commit 7ac66bdda0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-06-08 Christopher Faylor <cgf@redhat.com>
* pinfo.cc (pinfo_dummy): Initialize to correct size.
2002-06-08 Christopher Faylor <cgf@redhat.com> 2002-06-08 Christopher Faylor <cgf@redhat.com>
* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout. * path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.

View File

@ -27,7 +27,7 @@ details. */
#include <ntdef.h> #include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
static char NO_COPY pinfo_dummy[sizeof(pinfo)] = {0}; static char NO_COPY pinfo_dummy[sizeof (_pinfo)] = {0};
pinfo NO_COPY myself ((_pinfo *)&pinfo_dummy); // Avoid myself != NULL checks pinfo NO_COPY myself ((_pinfo *)&pinfo_dummy); // Avoid myself != NULL checks