This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog pinfo.cc pinfo.h
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 12 Dec 2005 18:43:32 -0000
- Subject: winsup/cygwin ChangeLog pinfo.cc pinfo.h
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sourceware.org 2005-12-12 18:43:32
Modified files:
cygwin : ChangeLog pinfo.cc pinfo.h
Log message:
* pinfo.cc (size_copied): New convenience macro.
(winpids::add): Alias the element that we are working on for slightly better
clarity. Honor the "make_copy" flag.
(winpids::release): Free and zero procinfo field if it was allocated via
malloc.
(winpids::~winpids): Free copied array.
* pinfo.h (class pinfo): Make winpids class a friend.
(winpids::make_copy): New field.
(winpids::copied): New array.
(winpids::reset): Reset npids after releasing pinfos or suffer a memory leak.
(winpids::winpids): Try harder to allocate all fields in the class.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3250&r2=1.3251
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.209&r2=1.210
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.h.diff?cvsroot=uberbaum&r1=1.93&r2=1.94