Mail Archives: djgpp-workers/1998/04/05/15:58:51
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 -