www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Caruso <ncar...@gamesville.com>
Subject general/6977: coding error (?) in unix/poll.c
Date Wed, 13 Dec 2000 20:21:51 GMT

>Number:         6977
>Category:       general
>Synopsis:       coding error (?) in unix/poll.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 13 12:30:00 PST 2000
>Originator:     ncaruso@gamesville.com
>Release:        2.0 alpha 9
uname -a                                                                                 
IRIX64 gamey 6.5 07151432 IP27 mips
In several places, it looks like there was a failure to modify cut-and-pasted code,

apr_status_t apr_remove_poll_socket(apr_pollfd_t *aprset, apr_socket_t *sock)
    FD_CLR(sock->socketdes, aprset->read);
    FD_CLR(sock->socketdes, aprset->read);
    FD_CLR(sock->socketdes, aprset->write);
    return APR_SUCCESS;

Shouldn't one of those "read" lines be "except"?  There are several occurrences
of this type of error in this file.

see full description
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message