git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9350e4b
)
exported mktmpname.
author
kramm
<kramm>
Thu, 13 Dec 2001 08:20:26 +0000
(08:20 +0000)
committer
kramm
<kramm>
Thu, 13 Dec 2001 08:20:26 +0000
(08:20 +0000)
pdf2swf/xpdf/gfile.cc
patch
|
blob
|
history
pdf2swf/xpdf/gfile.h
patch
|
blob
|
history
diff --git
a/pdf2swf/xpdf/gfile.cc
b/pdf2swf/xpdf/gfile.cc
index
4c93a79
..
2350a90
100644
(file)
--- a/
pdf2swf/xpdf/gfile.cc
+++ b/
pdf2swf/xpdf/gfile.cc
@@
-442,7
+442,7
@@
time_t getModTime(char *fileName) {
#endif
}
static char tmpbuf[128];
#endif
}
static char tmpbuf[128];
-static char* mktmpname(char*ptr) {
+char* mktmpname(char*ptr) {
// used to be mktemp. This does remove the warnings, but
// It's not exactly an improvement.
#ifdef HAVE_LRAND48
// used to be mktemp. This does remove the warnings, but
// It's not exactly an improvement.
#ifdef HAVE_LRAND48
diff --git
a/pdf2swf/xpdf/gfile.h
b/pdf2swf/xpdf/gfile.h
index
28289fb
..
f3041b9
100644
(file)
--- a/
pdf2swf/xpdf/gfile.h
+++ b/
pdf2swf/xpdf/gfile.h
@@
-86,6
+86,9
@@
time_t getModTime(char *fileName);
// should be "w" or "wb". Returns true on success.
GBool openTempFile(GString **name, FILE **f, char *mode, char *ext);
// should be "w" or "wb". Returns true on success.
GBool openTempFile(GString **name, FILE **f, char *mode, char *ext);
+/* create a temporary filename */
+char* mktmpname(char*ptr);
+
//------------------------------------------------------------------------
// GDir and GDirEntry
//------------------------------------------------------------------------
//------------------------------------------------------------------------
// GDir and GDirEntry
//------------------------------------------------------------------------