apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Hudson <ghud...@MIT.EDU>
Subject apr_poll should not have been removed
Date Thu, 20 Nov 2003 22:39:47 GMT
In the rev 1.10 of apr_poll.h (which is current on the release
branch), the following functions are marked deprecated:

  apr_poll_setup
  apr_poll_socket_add
  apr_poll_socket_mask
  apr_poll_socket_remove
  apr_poll_socket_clear
  apr_poll_revents_get

The deprecation comment is:

 * @deprecated This function is deprecated, APR applications should control the
pollset memory themselves.

In rev 1.11 (October 28), gstein moved the deprecated functions to the
end of apr_poll.h.  He also added a comment to apr_poll():

  +/* ### is this deprecated, too? */

In rev 1.12 (November 17), gstein removed the "old/deprecated apr_poll
interface", garbage-collecting the six deprecated functions and also
removing apr_poll().  But apr_poll() was never marked as deprecated,
and it's quite possible to use it without using any of the deprecated
functions.  It should have stayed.

Mime
View raw message