Return-Path: Message-ID: From: Claudio Takahasi To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] HCID D-Bus (Seg Fault) In-Reply-To: <1126567316.5518.9.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_19177_19027541.1126616617028" References: <1126220839.5286.57.camel@blade> <5256d0b050909012577fcb19c@mail.gmail.com> <1126258645.5227.16.camel@blade> <20050909132940.GE17543@spring.luon.net> <1126273252.5227.119.camel@blade> <1126561206.24935.1.camel@localhost.localdomain> <1126567316.5518.9.camel@localhost.localdomain> Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 13 Sep 2005 10:03:37 -0300 ------=_Part_19177_19027541.1126616617028 Content-Type: multipart/alternative; boundary="----=_Part_19178_22148715.1126616617028" ------=_Part_19178_22148715.1126616617028 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Marcel, The patch for reply_handler_function is attached. Regards, Claudio. On 9/12/05, Marcel Holtmann wrote: >=20 > Hi Claudio, >=20 > > Regarding the reply_handler_function, please check if it is relevant. > > I you want I can send only the changes for handle the error messages. >=20 > please do so. >=20 > Regards >=20 > Marcel >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_19178_22148715.1126616617028 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi Marcel,

The patch for reply_handler_function is attached.

Regards,
Claudio.

On 9/12/05, = Marcel Holtmann <marcel@holtm= ann.org> wrote:
Hi Claudio,

> Regarding the reply_handler_function, please check = if it is relevant.
> I you want I can send only the changes for handl= e the error messages.

please do so.

Regards

Marcel




-------------------------------------------------------=
SF.Net email is Sponsored by the Better Software Conference & EXPO<= br>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practi= ces
Agile & Plan-Driven Development * Managing Projects & Teams * T= esting & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______= ________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/= lists/listinfo/bluez-devel

------=_Part_19178_22148715.1126616617028-- ------=_Part_19177_19027541.1126616617028 Content-Type: text/x-patch; name="hcid_dbus_0003.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="hcid_dbus_0003.patch" LS0tIGJsdWV6LXV0aWxzLTIuMjEub3JpZy9oY2lkL2RidXMuYwkyMDA1LTA4LTI3IDEwOjM3OjE0 LjAwMDAwMDAwMCAtMDMwMAorKysgYmx1ZXotaGNpZC0yLjIxL2hjaWQvZGJ1cy5jCTIwMDUtMDkt MTMgMDk6MDE6MjAuNDA5MDUyNDg4IC0wMzAwCkBAIC02OCwyNyArNjgsNDMgQEAKIAlwaW5fY29k ZV9yZXBseV9jcCBwcjsKIAlEQnVzTWVzc2FnZSAqbWVzc2FnZTsKIAlEQnVzTWVzc2FnZUl0ZXIg aXRlcjsKLQlpbnQgdHlwZTsKKwlpbnQgYXJnX3R5cGU7CisJaW50IG1zZ190eXBlOwogCXNpemVf dCBsZW47CiAJY2hhciAqcGluOworCWNvbnN0IGNoYXIgKmVycm9yX21zZzsKIAogCW1lc3NhZ2Ug PSBkYnVzX3BlbmRpbmdfY2FsbF9zdGVhbF9yZXBseShjYWxsKTsKIAotCWlmIChkYnVzX21lc3Nh Z2VfaXNfZXJyb3IobWVzc2FnZSwgV1JPTkdfQVJHU19FUlJPUikpCi0J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NfVFlQRV9T VFJJTkcpIHsKKwkJCQlzeXNsb2coTE9HX0VSUiwgIldyb25nIHJlcGx5IHNpZ25hdHVyZTogZXhw ZWN0ZWQgUElOIik7CisJCQkKKwkJCQloY2lfc2VuZF9jbWQocmVxLT5kZXYsIE9HRl9MSU5LX0NU TCwKKwkJCQkgICAgIE9DRl9QSU5fQ09ERV9ORUdfUkVQTFksIDYsICZyZXEtPmJkYSk7CisJCQl9 IGVsc2UgewogI2lmZGVmIEhBVkVfREJVU19NRVNTQUdFX0lURVJfR0VUX0JBU0lDCiAJZGJ1c19t ZXNzYWdlX2l0ZXJfZ2V0X2Jhc2ljKCZpdGVyLCAmcGluKTsKICNlbHNlCiAJcGluID0gZGJ1c19t ZXNzYWdlX2l0ZXJfZ2V0X3N0cmluZygmaXRlcik7CiAjZW5kaWYKLQogCWxlbiA9IHN0cmxlbihw aW4pOwogCiAJbWVtc2V0KCZwciwgMCwgc2l6ZW9mKHByKSk7CkBAIC05NywxNSArMTEzLDEyIEBA CiAJcHIucGluX2xlbiA9IGxlbjsKIAloY2lfc2VuZF9jbWQocmVxLT5kZXYsIE9HRl9MSU5LX0NU TCwgT0NGX1BJTl9DT0RFX1JFUExZLAogCQkJCQkJUElOX0NPREVfUkVQTFlfQ1BfU0laRSwgJnBy KTsKKwkJCX0KIAorCQl9CiAJZGJ1c19tZXNzYWdlX3VucmVmKG1lc3NhZ2UpOworCX0KIAlkYnVz X3BlbmRpbmdfY2FsbF91bnJlZihjYWxsKTsKLQotCXJldHVybjsKLQotZXJyb3I6Ci0JaGNpX3Nl bmRfY21kKHJlcS0+ZGV2LCBPR0ZfTElOS19DVEwsCi0JCQkJT0NGX1BJTl9DT0RFX05FR19SRVBM WSwgNiwgJnJlcS0+YmRhKTsKIH0KIAogc3RhdGljIHZvaWQgZnJlZV9waW5fcmVxKHZvaWQgKnJl cSkK ------=_Part_19177_19027541.1126616617028-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel