apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Saccoccio" <r...@fastcgi.com>
Subject [PATCH] apr_poll.h
Date Mon, 05 Aug 2002 00:54:58 GMT
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


Mime
View raw message