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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
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: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]

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.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001986

John Dallaway <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[hidden email]
         Resolution|---                         |CURRENTRELEASE
           Assignee|[hidden email] |[hidden email]
                   |ware.org                    |

--- Comment #1 from John Dallaway <[hidden email]> ---
Andy, thank you for contributing. Fix checked-in.

--
You are receiving this mail because:
You are on the CC list for the bug.