[Dev-luatex] mkstemp or similar in lua(tex)

Taco Hoekwater taco at elvenkind.com
Sun Nov 18 14:14:53 CET 2007


Martin Schröder wrote:
> 2007/11/18, Taco Hoekwater <taco at elvenkind.com>:
>> That's why I wrote:
>>
>>> I'll have to borrow or write a version of BSD's mkdtemp, somehow.
>> conf'ing for something that only exists in some specific BSD's is not
>> worth the effort (unless it can reliably be added to openbsdcompat).
> 
> The original openssh-openbsd-compat has
> #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
> int mkstemps(char *path, int slen);
> int mkstemp(char *path);
> char *mkdtemp(char *path);
> #endif

But will this work if a platform has mkstemp, but not mkdtemp?

Best,
Taco




More information about the dev-luatex mailing list