<HTML><HEAD>
<META http-equiv=Content-Type content='text/html; charset=windows-1252'>
<title>Samsung Enterprise Portal mySingle</title>
<style> P, td, li {font-family:Arial, arial; font-size:9pt; margin-top:5px;margin-bottom:5px;} body{font-family:Arial, arial; font-size:9pt;}</style>
</HEAD><BODY><br>
<p><!--SP:sean_kang-->Now it looks like gconf mailing list :-)</p>
<p> </p>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">Revision
593,</SPAN></FONT></B><FONT face="?? ??"><SPAN style="FONT-FAMILY: '?? ??'">
<SPAN lang=EN-US>gconf/gconf-database-dbus.c, probably one of the latest from </SPAN></SPAN></FONT>http://developer.imendio.com/projects/misc/gconf-dbus</P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'"><SPAN
lang=EN-US>directories are appended as </SPAN><SPAN lang=EN-US>string type.</SPAN></SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'"> </SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">579 static
void</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">580 database_handle_get_all_dirs
(DBusConnection *conn,</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">581
DBusMessage
*message,</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">582
GConfDatabase *db)</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">583 {</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">584 GSList *dirs,
*l;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">585 gchar
*dir;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">586 GError *gerror =
NULL;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">587 DBusMessage
*reply;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">588 DBusMessageIter
iter;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">589</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">590 if
(!gconfd_dbus_get_message_args (conn, message,</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">591
DBUS_TYPE_STRING, &dir,</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">592
DBUS_TYPE_INVALID))</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">593
return;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">594</SPAN></FONT></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">595 dirs =
gconf_database_all_dirs (db, dir, &gerror);</SPAN></FONT></B></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">596</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">597 if
(gconfd_dbus_set_exception (conn, message,
&gerror))</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">598
return;</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">599</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">600 reply =
dbus_message_new_method_return (message);</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">601</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">602
dbus_message_iter_init_append (reply, &iter);</SPAN></FONT></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">603 for (l =
dirs; l; l = l->next)</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">604
{</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">605 gchar
*str = (gchar *) l->data;</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">606</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">607
dbus_message_iter_append_basic (&iter,</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">608
<FONT color=red><SPAN
style="COLOR: red">DBUS_TYPE_STRING</SPAN></FONT>,</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">609
&str);</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">610</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">611
g_free (l->data);</SPAN></FONT></B></P>
<P class=MsoPlainText style><B><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">612
}</SPAN></FONT></B></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">613</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">614 g_slist_free
(dirs);</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">615</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">616 dbus_connection_send (conn,
reply, NULL);</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">617 dbus_message_unref
(reply);</SPAN></FONT></P>
<P class=MsoPlainText style><FONT face="?? ??" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: '?? ??'">618 }</SPAN></FONT></P>
<p> </p>
<p> </p>
<p> </p><br><br>------- <b>Original Message</b> -------<br><b>Sender</b> : Richard Hult<richard@imendio.com><br><b>Date</b> : 2007-05-22 15:52<br><b>Title</b> : Re: Signature length<br><br>Hi,
<br>
<br>Havoc Pennington skrev:
<br>> Hi,
<br>>
<br>> Sean Kang wrote:
<br>>> I'm currently using GConf-DBus and it seems(not verified, but it might
<br>>> be) there is a problem with the limitation given by D-Bus.
<br>>>
<br>>> Would it be there, if modified, any immediate problem if that limitation
<br>>> is removed or raised? (how to raise that variable would be welcome :-) )
<br>>>
<br>>
<br>> First step is to figure out exactly why gconf-dbus is doing this.
<br>>
<br>> It's almost certainly a design problem with gconf-dbus. I think the
<br>> gconf-dbus patch is so old, it may predate dbus recursive array types.
<br>> Thus, it may have had to use methods with tons of args instead of an
<br>> array. gconf-dbus could then just be fixed to use an array.
<br>
<br>What version of gconf-dbus are you using? IIRC, this was changed quite a
<br>while ago after D-BUS grew support for arrays with structs in them.
<br>
<br>Regards,
<br>Richard
<br>
<br>--
<br>Imendio AB, http://www.imendio.com/
<br>
<br>
<br></BODY></HTML>