Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-09 07:54:07 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-09 07:54:07 +0400
commit7ac66bdda062e2211b01b7eb07f2b640c58271da (patch)
tree9db745df22c0cc72774bfc45ac249d213c0e5184 /winsup/cygwin
parent63f4c63a191672b97fc8c9d31b91c2c0a4c98f89 (diff)
* pinfo.cc (pinfo_dummy): Initialize to correct size.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/pinfo.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 8e71a5a9e..ff77d5042 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2002-06-08 Christopher Faylor <cgf@redhat.com>
+ * pinfo.cc (pinfo_dummy): Initialize to correct size.
+
+2002-06-08 Christopher Faylor <cgf@redhat.com>
+
* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
* shared_info.h (CURR_MOUNT_MAGIC): Update.
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 <ntdef.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