nautilus r14873 - trunk/eel
- From: awalton svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14873 - trunk/eel
- Date: Thu, 22 Jan 2009 00:35:11 +0000 (UTC)
Author: awalton
Date: Thu Jan 22 00:35:11 2009
New Revision: 14873
URL: http://svn.gnome.org/viewvc/nautilus?rev=14873&view=rev
Log:
2009-01-21 A. Walton <awalton gnome org>
* eel-debug-drawing.c (eel_debug_show_pixbuf_in_external_viewer):
Bug #568630: eel should use mkstemp() instead of mktemp()
mktemp() is deprecated and should not be used.
Patch by Jasper Lievisse Adriaanse.
Modified:
trunk/eel/ChangeLog
trunk/eel/eel-debug-drawing.c
Modified: trunk/eel/eel-debug-drawing.c
==============================================================================
--- trunk/eel/eel-debug-drawing.c (original)
+++ trunk/eel/eel-debug-drawing.c Thu Jan 22 00:35:11 2009
@@ -291,7 +291,7 @@
file_name = g_strdup ("/tmp/eel-debug-png-file-XXXXXX");
- if (mktemp (file_name) != file_name) {
+ if (mkstemp (file_name) != file_name) {
g_free (file_name);
file_name = g_strdup_printf ("/tmp/isis-debug-png-file-%d", getpid ());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]