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 Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers