forked from AuroraMiddleware/gtk
Use g_open().
2008-06-03 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c (build_cache): Use g_open(). svn path=/trunk/; revision=20303
This commit is contained in:
parent
54d9b40015
commit
727a9145f6
@ -1,3 +1,7 @@
|
||||
2008-06-03 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk/updateiconcache.c (build_cache): Use g_open().
|
||||
|
||||
2008-06-03 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkclist.h
|
||||
|
@ -1449,7 +1449,7 @@ build_cache (const gchar *path)
|
||||
|
||||
tmp_cache_path = g_build_filename (path, "."CACHE_NAME, NULL);
|
||||
|
||||
if ((fd = open (tmp_cache_path, O_WRONLY | O_CREAT | O_EXCL | O_TRUNC | _O_BINARY, mode)) == -1)
|
||||
if ((fd = g_open (tmp_cache_path, O_WRONLY | O_CREAT | O_EXCL | O_TRUNC | _O_BINARY, mode)) == -1)
|
||||
{
|
||||
g_printerr (_("Failed to open file %s : %s\n"), tmp_cache_path, g_strerror (errno));
|
||||
exit (1);
|
||||
|
Loading…
Reference in New Issue
Block a user