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

Norbert Preining preining at logic.at
Sat Nov 17 13:28:32 CET 2007

Hi Taco,

On Sa, 17 Nov 2007, Taco Hoekwater wrote:
> >Frank Küster has rewritten texdoc in luatex and now it really works much
> >better than the original one. 
> Good to here that!

Well, searching the whole disk with find when we have ls-R databases was
a strange approach, no? The next Debian packages of luatex (as soon as
you release a new beta ;-) will ship the lua version of texdoc instead
of the default texlive texdoc.

> >Furthermore, a call to securly create a tmp dir would be nice, too.
> I agree, and will happily add it. mkstemp() doesn't help though,
> as it only works for files. I'll have to borrow or write a version
> of BSD's mkdtemp, somehow.

The is probably the best idea, since relying on a lib function which
might not exist is a problem.

Best wishes


Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
A mood of irrational irritation with everyone and everything.
			--- Douglas Adams, The Meaning of Liff

More information about the dev-luatex mailing list