[Bug 1001986] New: Make select FD_COPY and FD_ZERO macros single statements

[email protected] Thu, 15 May 2014 13:44:30 +0000
Newsgroups gmane.os.ecos.patches
Message-ID <[email protected]/>
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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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 on the CC list for the bug.