X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fxpdf%2Fgfile.cc;fp=pdf2swf%2Fxpdf%2Fgfile.cc;h=7bc9b2261b225badd78865a8f5c6a3bcc3b09321;hb=38bde89116e018468a3979c37664c13c2ccc81b0;hp=cc0324c20724f8306e2cd2a7773fe0fbd45720f5;hpb=193f333154d8083e525e2f29e90598fcdbe41408;p=swftools.git diff --git a/pdf2swf/xpdf/gfile.cc b/pdf2swf/xpdf/gfile.cc index cc0324c..7bc9b22 100644 --- a/pdf2swf/xpdf/gfile.cc +++ b/pdf2swf/xpdf/gfile.cc @@ -445,7 +445,7 @@ static char tmpbuf[128]; static char* mktmpname(char*ptr) { // used to be mktemp. This does remove the warnings, but // It's not exactly an improvement. - sprintf(tmpbuf, "%08x%08x",lrand48(),lrand48()); + sprintf(tmpbuf, "/tmp/%08x%08x",lrand48(),lrand48()); return tmpbuf; } GBool openTempFile(GString **name, FILE **f, char *mode, char *ext) {