You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Rob Saccoccio <ro...@fastcgi.com> on 2002/08/05 02:54:58 UTC

[PATCH] apr_poll.h

The following patch to HEAD is suggested so that an empty apr_poll_t struct
can safely be created by zeroing a chunk of memory.

--rob


Index: apr_poll.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_poll.h,v
retrieving revision 1.5
diff -u -r1.5 apr_poll.h
--- apr_poll.h	4 Aug 2002 04:43:23 -0000	1.5
+++ apr_poll.h	5 Aug 2002 00:51:30 -0000
@@ -92,7 +92,7 @@
 /** @} */

 typedef enum {
-    APR_NO_DESC,
+    APR_NO_DESC = 0,
     APR_POLL_SOCKET,
     APR_POLL_FILE,
     APR_POLL_LASTDESC