[geany/geany] 1c27e4: The mkstemps special case for windows is not necessary

Thomas Martitz git-noreply at xxxxx
Fri Apr 10 14:16:19 UTC 2015


Branch:      refs/heads/master
Author:      Thomas Martitz <kugel at rockbox.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 10 Apr 2015 14:16:19 UTC
Commit:      1c27e41bfa4bee44ef425f05bf3eabb8bd4ca2fe
             https://github.com/geany/geany/commit/1c27e41bfa4bee44ef425f05bf3eabb8bd4ca2fe

Log Message:
-----------
The mkstemps special case for windows is not necessary


Modified Paths:
--------------
    tagmanager/ctags/ctags.c

Modified: tagmanager/ctags/ctags.c
4 lines changed, 0 insertions(+), 4 deletions(-)
===================================================================
@@ -599,11 +599,7 @@ extern FILE *tempFile (const char *const mode, char **const pName)
 	tmpdir = TMPDIR;
     name = xMalloc (strlen (tmpdir) + 1 + strlen (template) + 1, char);
     sprintf (name, "%s%c%s", tmpdir, OUTPUT_PATH_SEPARATOR, template);
-#ifdef G_OS_WIN32
-    fd = mkstemps(name, 0);
-#else
     fd = mkstemp(name);
-#endif
 #else
     name = xMalloc (L_tmpnam, char);
     if (tmpnam (name) != name)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list