Bug 536990 - updateiconcache.c: 'close ()' is redundant
2008-06-07 Tor Lillqvist <tml@novell.com> Bug 536990 - updateiconcache.c: 'close ()' is redundant * gtk/updateiconcache.c (build_cache): Drop redundant close() calls. fclose() on a fdopen()ed strema closes the underlying file descriptor. svn path=/trunk/; revision=20327
This commit is contained in:
parent
d06e3a6a62
commit
3610acff8a
@ -1,3 +1,11 @@
|
||||
2008-06-07 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
Bug 536990 - updateiconcache.c: 'close ()' is redundant
|
||||
|
||||
* gtk/updateiconcache.c (build_cache): Drop redundant close()
|
||||
calls. fclose() on a fdopen()ed strema closes the underlying file
|
||||
descriptor.
|
||||
|
||||
2008-06-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 536757 – regression: openoffice.org menus are placed at wrong
|
||||
|
@ -1475,7 +1475,6 @@ build_cache (const gchar *path)
|
||||
/* Empty table, just close and remove the file */
|
||||
|
||||
fclose (cache);
|
||||
close (fd);
|
||||
g_unlink (tmp_cache_path);
|
||||
exit (0);
|
||||
}
|
||||
@ -1483,7 +1482,6 @@ build_cache (const gchar *path)
|
||||
/* FIXME: Handle failure */
|
||||
retval = write_file (cache, files, directories);
|
||||
fclose (cache);
|
||||
close (fd);
|
||||
|
||||
g_list_foreach (directories, (GFunc)g_free, NULL);
|
||||
g_list_free (directories);
|
||||
|
Loading…
Reference in New Issue
Block a user