All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Luiz Fernando Capitulino <lcapitulino@conectiva.com.br>
Cc: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Re: [PATCH] - Some errno usage fixes (bluez-libs).
Date: Tue, 21 Jun 2005 18:50:21 +0200	[thread overview]
Message-ID: <1119372621.26772.106.camel@pegasus> (raw)
In-Reply-To: <42B82F8E.1050506@conectiva.com.br>

Hi Luiz,

> The bluez-libs functions hci_for_each_dev(), hci_devinfo() and
> hci_inquiry() don't save the 'errno' value when an error occurs.
> This causes the value of 'errno' to be overwrinting on some kind
> of errors.
> 
> The attached patch fixes it. Note that was necessary to change
> hci_inquiry() a bit, and I've added the missing error code to 'errno'
> when a device is not found by hci_for_each_dev(), it fixes things like
> that:

thanks for the patch. A slight modified version is in the CVS now.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2005-06-21 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-21 15:17 [PATCH] - Some errno usage fixes (bluez-libs) Luiz Fernando Capitulino
2005-06-21 16:50 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1119372621.26772.106.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=lcapitulino@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.