Re: [Owfs-developers] Hang in ow_slurp.c when unplugging LinkUSB

2010-11-02 Thread Paul Alfille
Nice pickup. Will be included in the next release. On Tue, Nov 2, 2010 at 5:46 PM, Marcus Priesch 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 traff

[Owfs-developers] Hang in ow_slurp.c when unplugging LinkUSB

2010-11-02 Thread Marcus Priesch
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) {