delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/06/02:12:35

Date: Mon, 6 Apr 1998 09:10:49 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Gerwinski <peter AT agnes DOT dida DOT physik DOT uni-essen DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: I/O problems
In-Reply-To: <6g91n0$goe7@mx2.hrz.uni-essen.de>
Message-ID: <Pine.SUN.3.91.980406091020.8171G-100000@is>
MIME-Version: 1.0

On 5 Apr 1998, Peter Gerwinski wrote:

> I could solve the problem by telling `gpc.exe' to create a
> dummy file "ccaaaaaa" seen by `mktemp()'.
> 
> Another possible solution would be to tell `mktemp()' to look
> out also for "ccaaaaaa.*" and not only for "ccaaaaaa".

I think a better solution is to force GPC to call `mktemp' each time
it needs a file name, as opposed to calling `mktemp' once and then
appending extensions to what it returns.  GCC can be configured to do
so, and I'd guess GPC can as well.

- Raw text -


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