[epiphany/gnome-2-30] ephy-file-helpers: use g_mkstemp instead of mkstemp
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-2-30] ephy-file-helpers: use g_mkstemp instead of mkstemp
- Date: Mon, 30 Aug 2010 21:01:10 +0000 (UTC)
commit 3f4167ee98951aa84fac3ef3d3e35d0dd005532d
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Sat May 15 20:35:29 2010 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index adddc84..495164d 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]