Date: Tue, 10 Mar 1998 10:43:33 +0200 (IST) From: Eli Zaretskii To: DJ Delorie 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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).