This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001986] New: Make select FD_COPY and FD_ZERO macros single statements
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Thu, 15 May 2014 13:44:30 +0000
- Subject: [Bug 1001986] New: Make select FD_COPY and FD_ZERO macros single statements
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001986
Bug ID: 1001986
Summary: Make select FD_COPY and FD_ZERO macros single
statements
Product: eCos
Version: CVS
Target: All
Architecture/Host All
OS:
Status: UNCONFIRMED
Severity: normal
Priority: low
Component: Patches and contributions
Assignee: unassigned@bugs.ecos.sourceware.org
Reporter: ecos@xylanta.com
CC: ecos-patches@ecos.sourceware.org
Created attachment 2512
--> http://bugs.ecos.sourceware.org/attachment.cgi?id=2512&action=edit
Patch to make select FD_COPY and FD_ZERO macros single statements
The existing select FD_COPY and FD_ZERO macros will generate errors if used as
single statements such as:
if (condition)
FD_ZERO(&read_fds);
else {
This patch resolves this.
--
You are receiving this mail because:
You are the assignee for the bug.