This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]