Yes, I know. But that never gets called in normal operation of MAME/MESS, and mkstemp() has completely different semantics that are unusable for what MESS wants.
ETA: It turns out after some Googling that mkdtemp() *is* a secure compatible replacement - someone needs to fix the stupid linker scold (someone already filed a bug against GCC about it, which is handy). The man page claims all the BSDs have it - judge, would you mind checking FreeBSD for me? I can check OS X.
Last edited by R. Belmont; 06/30/07 07:11 AM.