From 137389a43aa67a0e829c1c7c02c64bfcd5abca0e Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sat, 15 May 2010 20:35:29 -0500 Subject: ephy-file-helpers: use g_mkstemp instead of mkstemp This allows the "XXXXXX" token to be anywhere in the tmpl string. Bug #302986 --- lib/ephy-file-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.2.3