Mail Archives: djgpp-workers/1998/04/29/03:46:52
On Tue, 28 Apr 1998, Andris Pavenis wrote:
> I think following is more safe. I think we should exclude other error codes
> except EEXIST ( I tested that I'm getting this code even if there is
> directory or R/O file with conflicting name, so all worked Ok).
This is one of the most painful problems. Some network redirectors
return weird error codes. Let's do it your way and then wait and see.
> Perhaps
> I'll combine necessary procedures from 202 in one file (together with some
> modifications especially for gcc) and use it as additional module
> for building gcc (no more such ugly hacks as I talked before)
I suggest to patch the library you are using to link gcc on your
machine with the new versions of mkstemp and with _creatnew. Then put
the sources of these functions inside the GCC source distribution and
tell people in the README to compile them and put them into their
libc.a before building GCC, unless they already have v2.02. This is
IMHO a better way.
- Raw text -