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:
cb72b4b
)
changed mktempname prototype
author
kramm
<kramm>
Sun, 9 Sep 2007 10:26:56 +0000
(10:26 +0000)
committer
kramm
<kramm>
Sun, 9 Sep 2007 10:26:56 +0000
(10:26 +0000)
lib/os.c
patch
|
blob
|
history
lib/os.h
patch
|
blob
|
history
diff --git
a/lib/os.c
b/lib/os.c
index
0e850ca
..
9c4e725
100755
(executable)
--- a/
lib/os.c
+++ b/
lib/os.c
@@
-161,7
+161,7
@@
static char* getTempDir()
return dir;
}
-char* mktempname(const char*ptr) {
+char* mktempname(char*ptr) {
static char tmpbuf[128];
char*dir = getTempDir();
int l = strlen(dir);
diff --git
a/lib/os.h
b/lib/os.h
index
2b321db
..
67736fc
100755
(executable)
--- a/
lib/os.h
+++ b/
lib/os.h
@@
-38,7
+38,7
@@
char* getInstallationPath();
char* concatPaths(const char*base, const char*add);
char* stripFilename(const char*filename, const char*newext);
-char* mktempname(const char*);
+char* mktempname(char*buffer);
#ifdef __cplusplus
}