[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: Console taking 100% CPU

Bryan Stansell bryan@conserver.com
Tue, 14 Dec 2010 23:54:22 GMT


On Tue, Dec 14, 2010 at 10:31:02PM +0000, Bryan Stansell wrote:
> I should probably fix it to not chew up all the CPU...

Found the problem...sorry folks.

--- console.c   19 Oct 2009 06:44:06 -0000      5.185
+++ console.c   14 Dec 2010 23:52:50 -0000
@@ -1352,7 +1352,7 @@
                if (screwy)
                    break;
                else {
-                   FD_SET(0, &rinit);
+                   FD_CLR(0, &rinit);
                    continue;
                }
            }

Bryan