PATCH: temp fixes, again

Marcus Meissner meissner at suse.de
Sat Jul 27 08:56:28 CDT 2002


On Fri, Jul 26, 2002 at 01:21:05PM -0700, WINE wrote:
> Marcus Meissner <meissner at suse.de> writes:
> 
> > 	Check for mkstemp, added a port implementation if it is
> > 	not present. Use mkstemp() in various places needing tmp files.
> 
> I'm not sure this is a good idea, mkstemp() is apparently buggy in old
> libc versions. tmpnam() is actually pretty reasonable assuming it is
> used correctly, which of course is not the case everywhere but that
> could be fixed.

This has been some time ago, and those old libc versions should not be used 
anymore for security reasons.

If you have a description on what was broken I can whip up a configure
check though.

Ciao, Marcus



More information about the wine-devel mailing list