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

Sender: bill AT taniwha DOT tssc DOT co DOT nz
Message-ID: <35064D94.4D3236EA@taniwha.tssc.co.nz>
Date: Wed, 11 Mar 1998 21:38:44 +1300
From: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: mkstemp made safer
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980308144250 DOT 22686i-100000 AT is>

Eli Zaretskii wrote:
> Here's a change in `mkstemp' analogous to the change in `tmpfile'.
[snip]
> !   while (mktemp (tmp_name) != NULL
> !        && (fd = _creatnew(tmp_name, 0, SH_DENYRW)) == -1);
[snip]
> + file in DENY_ALL mode.
> + @findex mkstemp

Is this correct, or does SH_DENYRW mean DENY_ALL?  It looks like they
mean the same thing, but I want to be sure.

Anyway, thanks Eli.  Although it's been a while, it was painfull only
being able to have one gcc compile going at a time under windows.

Bill
-- 
Leave others their otherness.

- Raw text -


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