From: Peter Gerwinski Message-Id: <199804051857.UAA22584@esmeralda.gerwinski.de> Subject: Re: I/O problems In-Reply-To: from Eli Zaretskii at "Apr 5, 98 08:05:09 pm" To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Sun, 5 Apr 1998 20:57:08 +0200 (MEST) Cc: djgpp-workers AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk According to Eli Zaretskii: > > If you want, I can mail you patches for the functions that generate > temporary file names which should solve these problems. This really is the reason (or at least one reason;-) for the I/O problem: When `gpc.exe' invokes itself, the new instance chooses the same `temp_filename' "ccaaaaaa" as the primary instance did. Strange enough, the patched `libc.a' did not change this behaviour. What I did was to link `gpc.exe' against this new `libc.a'. I will double-check that my current `libc.a' really contains a new `mktemp()' ... In fact the temporary name is chosen in `choose-temp.c' from "libiberty" which is copied in the GCC source. I will keep you informed and summarize on `djgpp AT delorie DOT com'. Thanks again, Peter