This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [java/PATCH] PR 30454 Fix bootstrap on a couple of targets, empty "zip" file in class path can cause leakage of file streams


>>>>> "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


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