delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/10/03:43:27

Date: Tue, 10 Mar 1998 10:43:33 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
cc: Vik DOT Heyndrickx AT rug DOT ac DOT be, djgpp-workers AT delorie DOT com
Subject: Re: Temporary files considered unsafe
In-Reply-To: <199803092348.SAA28422@delorie.com>
Message-ID: <Pine.SUN.3.91.980310104223.3898I-100000@is>
MIME-Version: 1.0

On Mon, 9 Mar 1998, DJ Delorie wrote:

> > DOS has a function that creates a temporary file, why cannot we use that
> > for tmpfile? We would at least never have a to cope with race conditions
> 
> Does it work in DOS 3.x ?

Yes, that function (5Ah) is supported from DOS 3.0 on.  But there is no 
LFN-aware cousin to it (you need LFN if the directory where you want the 
temporary file to be created has a long name).

- Raw text -


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