This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [java/PATCH] PR 30454 Fix bootstrap on a couple of targets, empty "zip" file in class path can cause leakage of file streams
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: 23 Jan 2007 08:40:26 -0700
- Subject: Re: [java/PATCH] PR 30454 Fix bootstrap on a couple of targets, empty "zip" file in class path can cause leakage of file streams
- References: <1169572895.2636.85.camel@celery.andrew.com>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Pinski <pinskia@gmail.com> writes:
Andrew> The problem here is that empty "zip" files in the classpath
Andrew> would cause leakage of file streams which meant after a while,
Andrew> we hit the limit of opened files.
Nice catch, thanks.
Andrew> OK?
I think we should free 'zipf' in the 'return NULL' cases.
Ok with that change.
Tom