Author: mvidner Date: Thu May 20 17:21:31 2010 New Revision: 62048 URL: http://svn.opensuse.org/viewcvs/yast?rev=62048&view=rev Log: Better fix: dbus_bool_t instead of int (bnc#606712). Fixed retrieving boolean values on big-endian archs (bnc#606712). Enabled the already existing test for this bug. manually merged from branches/SuSE-Code-11-SP1-Branch/dbus-server:62028,62037 Modified: branches/SuSE-Code-11-Branch/core/ (props changed) branches/SuSE-Code-11-Branch/core/VERSION branches/SuSE-Code-11-Branch/core/liby2dbus/src/DBusMsg.cc branches/SuSE-Code-11-Branch/core/package/yast2-core.changes branches/SuSE-Code-11-Branch/core/yast2-core.spec.in Modified: branches/SuSE-Code-11-Branch/core/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/core/VERSION?rev=62048&r1=62047&r2=62048&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/core/VERSION (original) +++ branches/SuSE-Code-11-Branch/core/VERSION Thu May 20 17:21:31 2010 @@ -1 +1 @@ -2.17.30.5 +2.17.30.6 Modified: branches/SuSE-Code-11-Branch/core/liby2dbus/src/DBusMsg.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/core/liby2dbus/src/DBusMsg.cc?rev=62048&r1=62047&r2=62048&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/core/liby2dbus/src/DBusMsg.cc (original) +++ branches/SuSE-Code-11-Branch/core/liby2dbus/src/DBusMsg.cc Thu May 20 17:21:31 2010 @@ -794,7 +794,7 @@ { if (type == DBUS_TYPE_BOOLEAN) { - bool b; + dbus_bool_t b; // not bool, bnc#606712 dbus_message_iter_get_basic(it, &b); ret = YCPBoolean(b); mismatch = false; @@ -965,7 +965,7 @@ // TODO support more types if (type == DBUS_TYPE_BOOLEAN) { - bool b; + dbus_bool_t b; // not bool, bnc#606712 dbus_message_iter_get_basic(it, &b); ret = YCPBoolean(b); } Modified: branches/SuSE-Code-11-Branch/core/package/yast2-core.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/core/package/yast2-core.changes?rev=62048&r1=62047&r2=62048&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/core/package/yast2-core.changes (original) +++ branches/SuSE-Code-11-Branch/core/package/yast2-core.changes Thu May 20 17:21:31 2010 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu May 20 17:00:35 CEST 2010 - mvidner@suse.cz + +- Better fix: dbus_bool_t instead of int (bnc#606712). +- Fixed retrieving boolean values on big-endian archs (bnc#606712). +- Enabled the already existing test for this bug. +- 2.17.30.6 + +------------------------------------------------------------------- Thu May 20 15:19:37 CEST 2010 - mvidner@suse.cz - Fixed the regexpsub algorithm not to loop endlessly Modified: branches/SuSE-Code-11-Branch/core/yast2-core.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/core/yast2-core.spec.in?rev=62048&r1=62047&r2=62048&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/core/yast2-core.spec.in (original) +++ branches/SuSE-Code-11-Branch/core/yast2-core.spec.in Thu May 20 17:21:31 2010 @@ -24,6 +24,8 @@ # for SCR DBus service BuildRequires: dbus-1-devel PolicyKit-devel +# its tests +BuildRequires: dbus-1-python Summary: - Requires: perl = %{perl_version} -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org