ORBit2 r2099 - in trunk: . src/idl-compiler src/orb/orb-core
- From: kmaraas svn gnome org
- To: svn-commits-list gnome org
- Subject: ORBit2 r2099 - in trunk: . src/idl-compiler src/orb/orb-core
- Date: Fri, 3 Oct 2008 09:14:10 +0000 (UTC)
Author: kmaraas
Date: Fri Oct 3 09:14:10 2008
New Revision: 2099
URL: http://svn.gnome.org/viewvc/ORBit2?rev=2099&view=rev
Log:
2008-10-03 Kjartan Maraas <kmaraas gnome org>
* src/idl-compiler/orbit-idl-c-utils.c: (orbit_cbe_write_typespec),
(orbit_cbe_write_param_typespec_raw):
* src/orb/orb-core/corba-orb.c: Fix missing format specifiers
and const. Closes bug #554564.
Modified:
trunk/ChangeLog
trunk/src/idl-compiler/orbit-idl-c-utils.c
trunk/src/orb/orb-core/corba-orb.c
Modified: trunk/src/idl-compiler/orbit-idl-c-utils.c
==============================================================================
--- trunk/src/idl-compiler/orbit-idl-c-utils.c (original)
+++ trunk/src/idl-compiler/orbit-idl-c-utils.c Fri Oct 3 09:14:10 2008
@@ -203,7 +203,7 @@
orbit_cbe_write_typespec(FILE *of, IDL_tree tree)
{
char *name = orbit_cbe_get_typespec_str(tree);
- fprintf( of, name);
+ fprintf(of, "%s", name);
g_free(name);
}
@@ -262,7 +262,7 @@
{
char *str;
str = orbit_cbe_write_param_typespec_str (ts, role);
- fprintf (of, str);
+ fprintf (of, "%s", str);
g_free (str);
}
Modified: trunk/src/orb/orb-core/corba-orb.c
==============================================================================
--- trunk/src/orb/orb-core/corba-orb.c (original)
+++ trunk/src/orb/orb-core/corba-orb.c Fri Oct 3 09:14:10 2008
@@ -49,7 +49,7 @@
static char *orbit_net_id = NULL;
static gboolean orbit_use_http_iors = FALSE;
static char *orbit_ipsock = NULL;
-static char *orbit_ipname = NULL;
+static const char *orbit_ipname = NULL;
static char *orbit_debug_options = NULL;
static char *orbit_naming_ref = NULL;
static GSList *orbit_initref_list = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]