Bug 5764
Summary: | Xjewel uses 100% CPU when started from window manager | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | k.h.c.vanhouten |
Component: | xjewel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | CC: | k.h.c.vanhouten |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-01-13 22:44:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
k.h.c.vanhouten
1999-10-09 11:37:54 UTC
Thank you. You say you have a patch; could you please use the "Create a new attachment" feature of bugzilla (you'll see it under the Summary line) to include it? I couldn't find "Create a new attachment", But here is the patch: --- xjewel-1.6.orig/xw.c Wed Feb 16 11:34:51 1994 +++ xjewel-1.6/xw.c Sun Oct 3 15:17:30 1999 @@ -156,6 +156,8 @@ fd_set readfds, writefds, exceptfds; struct timeval timeout_BSD; + FD_ZERO(&readfds); + FD_ZERO(&exceptfds); FD_SET(XConnectionNumber(xw_display),&readfds); FD_SET(XConnectionNumber(xw_display),&exceptfds); # else @@ -224,6 +226,8 @@ } else { ret = select(nfds,&readfds,NULL,&exceptfds,NULL); } + FD_ZERO(&readfds); + FD_ZERO(&exceptfds); FD_SET(XConnectionNumber(xw_display),&readfds); FD_SET(XConnectionNumber(xw_display),&exceptfds); #else Thanks for the patch, it's been applied. Please verify it with xjewel-1.6-12, which should be in the next Raw Hide. |