From 35b4534efe191abcabe490dc48b07e279a1a79a1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 10 Mar 2005 01:50:09 +0000 Subject: [PATCH] * pinfo.h (pinfo::pinfo): Clear more elements in the constructor. --- winsup/cygwin/ChangeLog | 6 +++++- winsup/cygwin/pinfo.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1db62825b..b48ce0a3f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-03-09 Christopher Faylor + + * pinfo.h (pinfo::pinfo): Clear more elements in the constructor. + 2005-03-09 Christopher Faylor * net.cc (dup_ent): Revert older stupid test for null. Don't copy name @@ -259,7 +263,7 @@ Add check for existing mapping for anonymous MAP_FIXED case. 2005-02-23 Corinna Vinschen - + * localtime.cc: Implement setting __tzrule's offset member using newlib's __gettzinfo () interface. (__tzrule): Remove. diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 877c22235..33954fc4c 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -162,7 +162,7 @@ public: pinfo () {} pinfo (_pinfo *x): procinfo (x), hProcess (NULL) {} pinfo (pid_t n) : rd_proc_pipe (NULL), hProcess (NULL) {init (n, 0, NULL);} - pinfo (pid_t n, DWORD flag) : rd_proc_pipe (NULL), hProcess (NULL) {init (n, flag, NULL);} + pinfo (pid_t n, DWORD flag) : rd_proc_pipe (NULL), hProcess (NULL), waiter_ready (0), wait_thread (NULL) {init (n, flag, NULL);} void release (); int wait () __attribute__ ((regparm (1))); ~pinfo ()