+2004-10-28 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gkeyfile.c: Include gstdio.h and use g_open().
+
2004-10-27 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c:
+2004-10-28 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gkeyfile.c: Include gstdio.h and use g_open().
+
2004-10-27 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c:
+2004-10-28 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gkeyfile.c: Include gstdio.h and use g_open().
+
2004-10-27 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c:
+2004-10-28 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gkeyfile.c: Include gstdio.h and use g_open().
+
2004-10-27 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c:
+2004-10-28 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gkeyfile.c: Include gstdio.h and use g_open().
+
2004-10-27 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c:
#include "gslist.h"
#include "gmem.h"
#include "gmessages.h"
+#include "gstdio.h"
#include "gstring.h"
#include "gstrfuncs.h"
#include "gutils.h"
path = g_build_filename (data_dir, sub_dir,
candidate_file, NULL);
- fd = open (path, O_RDONLY);
+ fd = g_open (path, O_RDONLY, 0);
if (output_file != NULL)
*output_file = g_strdup (path);
/**
* g_key_file_load_from_file:
* @key_file: an empty #GKeyFile struct
- * @file: the path of a filename to load
+ * @file: the path of a filename to load, in the GLib file name encoding
* @flags: flags from #GKeyFileFlags
* @error: return location for a #GError, or %NULL
*
g_return_val_if_fail (key_file != NULL, FALSE);
g_return_val_if_fail (file != NULL, FALSE);
- fd = open (file, O_RDONLY);
+ fd = g_open (file, O_RDONLY, 0);
if (fd < 0)
{