Avoiding tempnam (in favor of mkstemp)

Dimitrie O. Paun dpaun at rogers.com
Sun Feb 2 17:12:06 CST 2003


On February 1, 2003 03:31 am, Gerald Pfeifer wrote:
> We have had some (security-relevant) warning regressions for the following
> two programs in tools:

There's no regression -- these utilities have been using tempnam() from 
their very beginnings... :)

> Would you mind using mkstemp() instead of tempnam()?

I'm afraid that's not possible. I need a file name to pass to other
processes, not a file descriptor.  Any other suggestions?

-- 
Dimi.




More information about the wine-devel mailing list