diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-05-16 09:35:29 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-06-04 08:16:14 +0800 |
commit | 137389a43aa67a0e829c1c7c02c64bfcd5abca0e (patch) | |
tree | 5894c335132d45a8198d6b2fc29058656ba47d33 /lib | |
parent | 8c64bd1d4a14f6bcd0b507a6a9789c1fdd1cc84e (diff) | |
download | gsoc2013-epiphany-137389a43aa67a0e829c1c7c02c64bfcd5abca0e.tar.gz 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')
-rw-r--r-- | lib/ephy-file-helpers.c | 2 |
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) { |