delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/04/05/15:58:51

From: Peter Gerwinski <peter AT gerwinski DOT de>
Message-Id: <199804051857.UAA22584@esmeralda.gerwinski.de>
Subject: Re: I/O problems
In-Reply-To: <Pine.SUN.3.91.980405195934.6925A-100000@is> 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019