aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-05-16 09:35:29 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-06-04 08:16:14 +0800
commit137389a43aa67a0e829c1c7c02c64bfcd5abca0e (patch)
tree5894c335132d45a8198d6b2fc29058656ba47d33 /lib/ephy-file-helpers.c
parent8c64bd1d4a14f6bcd0b507a6a9789c1fdd1cc84e (diff)
downloadgsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar
gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar.gz
gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar.bz2
gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar.lz
gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar.xz
gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar.zst
gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.zip
ephy-file-helpers: use g_mkstemp instead of mkstemp
This allows the "XXXXXX" token to be anywhere in the tmpl string. Bug #302986
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index adddc8412..495164d84 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -229,7 +229,7 @@ ephy_file_tmp_filename (const char *base,
int fd;
char *name = g_strdup (base);
- fd = mkstemp (name);
+ fd = g_mkstemp (name);
if (fd != -1)
{