[Commits] [SCM] claws branch, master, updated. 3.11.1-157-g4ce8639

ticho at claws-mail.org ticho at claws-mail.org
Mon Jun 22 21:20:06 CEST 2015


The branch, master has been updated
       via  4ce8639200a0e9eb727db71c11c5a98cf02040fe (commit)
      from  514d0e31724a6943dfb22351b2c92cbd88da5391 (commit)

Summary of changes:
 src/common/utils.c |    3 ---
 1 file changed, 3 deletions(-)


- Log -----------------------------------------------------------------
commit 4ce8639200a0e9eb727db71c11c5a98cf02040fe
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Jun 22 21:18:28 2015 +0200

    Removed an unneeded ifdef in my_tmpfile().

diff --git a/src/common/utils.c b/src/common/utils.c
index 51bc5e1..a07e913 100644
--- 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();
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list