diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-10 01:50:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-10 01:50:09 +0000 |
commit | 35b4534efe191abcabe490dc48b07e279a1a79a1 (patch) | |
tree | 0bc805890b6196b134ff848b557e1df162f94dd0 | |
parent | 2e5fb2d9fa86fc27c3cb4803ce8fcc0052565037 (diff) | |
download | cygnal-35b4534efe191abcabe490dc48b07e279a1a79a1.tar.gz cygnal-35b4534efe191abcabe490dc48b07e279a1a79a1.tar.bz2 cygnal-35b4534efe191abcabe490dc48b07e279a1a79a1.zip |
* pinfo.h (pinfo::pinfo): Clear more elements in the constructor.
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | 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,5 +1,9 @@ 2005-03-09 Christopher Faylor <cgf@timesys.com> + * pinfo.h (pinfo::pinfo): Clear more elements in the constructor. + +2005-03-09 Christopher Faylor <cgf@timesys.com> + * net.cc (dup_ent): Revert older stupid test for null. Don't copy name if it is NULL. @@ -259,7 +263,7 @@ Add check for existing mapping for anonymous MAP_FIXED case. 2005-02-23 Corinna Vinschen <corinna@vinschen.de> - + * 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 () |