projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514d0e3
)
Removed an unneeded ifdef in my_tmpfile().
author
Andrej Kacian
<ticho@claws-mail.org>
Mon, 22 Jun 2015 19:18:28 +0000
(21:18 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Mon, 22 Jun 2015 19:19:58 +0000
(21:19 +0200)
src/common/utils.c
patch
|
blob
|
history
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 51bc5e1e81dbbe1ea288d29d2f2af176ca220ad7..a07e9136dd480049fe498b2b9048e0f2a03ce08f 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-3035,7
+3035,6
@@
gint change_file_mode_rw(FILE *fp, const gchar *file)
FILE *my_tmpfile(void)
{
-#if HAVE_MKSTEMP || defined(G_OS_WIN32)
const gchar suffix[] = ".XXXXXX";
const gchar *tmpdir;
guint tmplen;
@@
-3085,8
+3084,6
@@
FILE *my_tmpfile(void)
return fp;
}
-#endif /* HAVE_MKSTEMP || G_OS_WIN32 */
-
return tmpfile();
}