From: SourceForge.net <no...@so...> - 2008-03-17 16:50:59
|
Bugs item #504455, was opened at 2002-01-16 10:59 Message generated for change (Settings changed) made by djmcgrath You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102241&aid=504455&group_id=2241 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Deleted Resolution: None Priority: 1 Private: No Submitted By: Andreas Forster (forsti) Assigned to: Nobody/Anonymous (nobody) Summary: found an awkward line in Irc.pl Initial Comment: Line 405 of Irc.pl ( "if ($rout & SOCK) {" ) is a bad way to check whether $rout has something to read or not. In my tests, this expression always returns true. In the current version of the bot, this doesn't cause any problems because this line will only be executed if there _is_ something to read. But there was a problem when i gave a timeout to the select-statement one line above. Since line 405 is always true, the sysread command in line 406 will be executed and wait until there is something to read from SOCK (which is the job of select). So the mentioned Bug is harmless, but could make problems when implementing new features. ---------------------------------------------------------------------- Comment By: Dan McGrath (djmcgrath) Date: 2007-10-18 04:01 Message: Logged In: YES user_id=220602 Originator: NO This bug has been closed for the following reason: Blootbot, originally a fork of infobot, has renamed itself back to infobot. As a result, all bug reports related to infobot are being closed. You are encouraged to redownload infobot from SVN and check if the original bug that you submitted still applies. If it does, please feel free to resumbit the bug report. Thank you for your understanding. Thanks! Dan McGrath ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102241&aid=504455&group_id=2241 |