On Mon, 2007-10-08 at 09:35 +0000, zamri wrote:
> 
> 
> On 10/5/07, Aleksander Kamenik <[EMAIL PROTECTED]> wrote:
>         Paul J Stevens wrote:
>         > happy testing.
>         
>         On it.
> 
> I noticed this warning during compilation:
> 
> /root/dbmail-2.2.7-rc3/sievecmd.c:370: warning: the use of `tempnam'
> is dangerous, better use `mkstemp' 
> 
> 
> It might be in 2.2.7-rc2 too. I haven't checked it. Just let you
> know. 

It's for the edit script mode in dbmail-sievecmd. I needed to know the
name of the temporary file so that I could pass it as an argument to the
EDITOR command, and none of the more secure temporary file variants hand
back the file name. (Or if I missed one, please clue me in :-)

Aaron


_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to