gegl r2999 - in trunk: . bin



Author: kcozens
Date: Mon Mar 30 19:57:00 2009
New Revision: 2999
URL: http://svn.gnome.org/viewvc/gegl?rev=2999&view=rev

Log:
* bin/gegl-options.c: Applied patch from Chris Wang that fixes
possible portability issue when passing NULL pointer to fprintf.
Fixes bug #568389.


Modified:
   trunk/ChangeLog
   trunk/bin/gegl-options.c

Modified: trunk/bin/gegl-options.c
==============================================================================
--- trunk/bin/gegl-options.c	(original)
+++ trunk/bin/gegl-options.c	Mon Mar 30 19:57:00 2009
@@ -133,9 +133,9 @@
 "\tdelay:  %f\n"
 "\t\n",
     o->mode,
-    o->file,
-    o->xml,
-    o->output,
+    o->file==NULL?"(null)":o->file,
+    o->xml==NULL?"(null)":o->xml,
+    o->output==NULL?"(null)":o->output,
     o->rest==NULL?"":"yes",
     o->delay
 );



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]