Nice pickup.

Will be included in the next release.

On Tue, Nov 2, 2010 at 5:46 PM, Marcus Priesch <[email protected]> wrote:
> Dear all,
>
> i found an endless loop in the Slurp function (ow_slurp.c) ...
>
> reproduceable simply by unplugging the LinkUSB when owfs is using the
> device - also when there is no traffic ...
>
> adding these lines at the end solves it for me ...
>
>                if (ignore_result == 0) {
>                        return ;
>                }
>
> but i dont know if this could have any other sideeffects ... ?!?!
>
> in my understanding the select shouldnt signal theres something to read
> even if you read zero bytes afterwards ...
>
> hmmm ... i think this happens because the serial device disappears ...
> maybe this (unusal ;) - as long as you dont live in the usb world)
> situation should be handled somehow ?!?!
>
> greets,
> m.
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to