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 MIME-Version: 1.0 To: Eli Zaretskii CC: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: mkstemp made safer References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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.