This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] cinstall - Initialize all global state variables


On Tue, Nov 06, 2001 at 03:15:22PM +0100, Pavel Tsekov wrote:
>Attached is a patch which initializes all global state variables used
>in cinstall with zero values.  The patch is a result from a discussion
>in the cygwin maling list about a strange behaviour of setup.exe
>resulting in heavy memory usage and process crash/freeze.  The
>following link gives additional information about this behaviour:
>http://sources.redhat.com/ml/cygwin/2001-11/msg00304.html

If you have to initialize globals to zero something is drastically wrong
somewhere.

I would suggest finding out why this patch is necessary.  It sounds like
a shotgun approach to the problem to me.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]