From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9994 invoked by alias); 23 Jan 2007 08:23:50 -0000 Received: (qmail 9971 invoked by uid 48); 23 Jan 2007 08:23:49 -0000 Date: Tue, 23 Jan 2007 08:23:00 -0000 Message-ID: <20070123082349.9970.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q1/txt/msg00165.txt.bz2 ------- Comment #13 from pinskia at gcc dot gnu dot org 2007-01-23 08:23 ------- The temp zip file was being stayed opened even though it was empty. This caused us to open too many files. Anyways, I have a fix now: Index: ../../gcc/java/jcf-io.c =================================================================== --- ../../gcc/java/jcf-io.c (revision 121050) +++ ../../gcc/java/jcf-io.c (working copy) @@ -134,10 +135,10 @@ { jcf_dependency_add_file (zipfile, is_system); if (read (fd, magic, 4) != 4 || GET_u4 (magic) != (JCF_u4)ZIPMAGIC) - return NULL; + { close (fd); return NULL; } lseek (fd, 0L, SEEK_SET); if (read_zip_archive (zipf) != 0) - return NULL; + { close (fd); return NULL; } } SeenZipFiles = zipf; -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-01-23 08:23:48 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454