From 7ac66bdda062e2211b01b7eb07f2b640c58271da Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 9 Jun 2002 03:54:07 +0000 Subject: [PATCH] * pinfo.cc (pinfo_dummy): Initialize to correct size. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/pinfo.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8e71a5a9e..ff77d5042 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-06-08 Christopher Faylor + + * pinfo.cc (pinfo_dummy): Initialize to correct size. + 2002-06-08 Christopher Faylor * path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout. diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 2b96442aa..44ca1df46 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -27,7 +27,7 @@ details. */ #include #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