aboutsummaryrefslogtreecommitdiffstats
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-08-31 04:32:57 +0800
commit3f4167ee98951aa84fac3ef3d3e35d0dd005532d (patch)
treed9eea1d50c258ebf4ce456a50fa25ff554cff9c5
parent1ff88115568b3905e94a985a022f16f4f3175a07 (diff)
downloadgsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.tar
gsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.tar.gz
gsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.tar.bz2
gsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.tar.lz
gsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.tar.xz
gsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.tar.zst
gsoc2013-epiphany-3f4167ee98951aa84fac3ef3d3e35d0dd005532d.zip
ephy-file-helpers: use g_mkstemp instead of mkstemp
This allows the "XXXXXX" token to be anywhere in the tmpl string. Bug #302986
-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)
{