View | Details | Raw Unified
Collapse All | Expand All

(-) src/orb/GIOP/giop-recv-buffer.c (-3 / +3 lines)
 Lines 736-742    Link Here 
			link_io_thread_remove_timeout (ent->cnx->parent.timeout_source_id);
			link_io_thread_remove_timeout (ent->cnx->parent.timeout_source_id);
			ent->cnx->parent.timeout_source_id = 0;
			ent->cnx->parent.timeout_source_id = 0;
			ent->cnx->parent.timeout_status = LINK_TIMEOUT_NO;
			ent->cnx->parent.timeout_status = LINK_TIMEOUT_NO;
			g_object_unref (&ent->cnx->parent); // we remove the source so we must unref the connection
			link_connection_unref (&ent->cnx->parent); // we remove the source so we must unref the connection
		} else if (ent->cnx->parent.timeout_status == LINK_TIMEOUT_YES)
		} else if (ent->cnx->parent.timeout_status == LINK_TIMEOUT_YES)
			*timeout = TRUE;
			*timeout = TRUE;
		g_mutex_unlock (ent->cnx->parent.timeout_mutex);
		g_mutex_unlock (ent->cnx->parent.timeout_mutex);
 Lines 1382-1388    Link Here 
	giop_incoming_signal_T (tdata, GIOP_CLOSECONNECTION);
	giop_incoming_signal_T (tdata, GIOP_CLOSECONNECTION);
	g_mutex_unlock (tdata->lock); /* ent_lock */
	g_mutex_unlock (tdata->lock); /* ent_lock */
	
	
	g_object_unref (lcnx); // we remove the source so we must unref lcnx
	link_connection_unref (lcnx); // we remove the source so we must unref lcnx
out:
out:
	return retv;
	return retv;
 Lines 1403-1409    Link Here 
	if (lcnx->timeout_source_id)
	if (lcnx->timeout_source_id)
		goto out;
		goto out;
	g_object_ref (lcnx); // to be unref'ed by the one who removes the timeout source
	link_connection_ref (lcnx); // to be unref'ed by the one who removes the timeout source
	
	
	if (!lcnx->timeout_mutex)
	if (!lcnx->timeout_mutex)
		lcnx->timeout_mutex = g_mutex_new ();
		lcnx->timeout_mutex = g_mutex_new ();
(-) linc2/src/Makefile.am (+1 lines)
 Lines 13-18    Link Here 
	-I$(top_srcdir)/linc2/include    \
	-I$(top_srcdir)/linc2/include    \
	$(LINC_CFLAGS)             \
	$(LINC_CFLAGS)             \
	$(WARN_CFLAGS)             \
	$(WARN_CFLAGS)             \
        $(ORBIT_DEBUG_CFLAGS)      \
	-DG_DISABLE_DEPRECATED	   \
	-DG_DISABLE_DEPRECATED	   \
	-D_GNU_SOURCE
	-D_GNU_SOURCE
(-) configure.in (-2 / +2 lines)
 Lines 103-110    Link Here 
dnl --enable-debug=(yes|minimum|no)
dnl --enable-debug=(yes|minimum|no)
AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=minimum)
AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=minimum)
if test "$enable_debug" = "yes"; then
if test "x$enable_debug" = "xyes"; then
  ORBIT_DEBUG_CFLAGS="-DG_ENABLE_DEBUG"
  ORBIT_DEBUG_CFLAGS="-ggdb -DG_ENABLE_DEBUG"
else
else
  if test "x$enable_debug" = "xno"; then
  if test "x$enable_debug" = "xno"; then
    ORBIT_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
    ORBIT_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
(-) ChangeLog (+11 lines)
 Lines 1-3    Link Here 
2007-08-22  Jules Colding  <colding@omesc.com>
	* src/orb/GIOP/giop-recv-buffer.c (giop_timeout_add): 
	Use LinkConnection native ref function instead of g_object_ref()
	(giop_recv_buffer_get): Use LinkConnection native unref function 
	instead of g_object_unref()
	(giop_timeout): Use LinkConnection native unref function instead 
	of g_object_unref()
	* configure.in: Fix 'if test' statement
2007-08-14  Jules Colding  <colding@omesc.com>
2007-08-14  Jules Colding  <colding@omesc.com>
	* src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write): Do
	* src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write): Do