quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@apache.org>
Subject [PATCH] Remove C++-style comments
Date Sat, 28 Dec 2002 20:54:49 GMT
Some of the C files have embedded C++-style comments which many 
compilers reject as invalid.

Anyway, this patch removes them.  -- justin

Index: src/connobject.c
===================================================================
RCS file: /home/cvs/httpd-python/src/connobject.c,v
retrieving revision 1.12
diff -u -r1.12 connobject.c
--- src/connobject.c	8 Nov 2002 00:15:11 -0000	1.12
+++ src/connobject.c	28 Dec 2002 20:49:37 -0000
@@ -308,7 +308,7 @@
     {"notes",              T_OBJECT,    0,                       RO},
     /* XXX filters ? */
     /* XXX document remain */
-    //{"remain",             T_LONG,      OFF(remain), 
RO},
+    /*{"remain",             T_LONG,      OFF(remain), 
RO},*/
     {NULL}  /* Sentinel */
 };

Index: src/serverobject.c
===================================================================
RCS file: /home/cvs/httpd-python/src/serverobject.c,v
retrieving revision 1.14
diff -u -r1.14 serverobject.c
--- src/serverobject.c	2 Dec 2002 21:53:11 -0000	1.14
+++ src/serverobject.c	28 Dec 2002 20:49:37 -0000
@@ -182,14 +182,14 @@
     {"keep_alive_max",     T_INT,       OFF(keep_alive_max),     RO},
     {"keep_alive",         T_INT,       OFF(keep_alive),         RO},
     /* XXX send_buffer_size gone. where? document */
-    //{"send_buffer_size",   T_INT,       OFF(send_buffer_size), 
RO},
+    /*{"send_buffer_size",   T_INT,       OFF(send_buffer_size), 
RO},*/
     {"path",               T_STRING,    OFF(path),               RO},
     {"pathlen",            T_INT,       OFF(pathlen),            RO},
     /* XXX names */
     /* XXX wild names */
     /* XXX server_uid and server_gid seem gone. Where? Document. */
-    //{"server_uid",         T_INT,       OFF(server_uid), 
RO},
-    //{"server_gid",         T_INT,       OFF(server_gid), 
RO},
+    /*{"server_uid",         T_INT,       OFF(server_uid), 
RO},*/
+    /*{"server_gid",         T_INT,       OFF(server_gid), 
RO},*/
     /* XXX Document limit* below. Make RW? */
     {"limit_req_line",       T_INT,       OFF(limit_req_line), 
RO},
     {"limit_req_fieldsize",  T_INT, 
OFF(limit_req_fieldsize),RO},
Index: src/util.c
===================================================================
RCS file: /home/cvs/httpd-python/src/util.c,v
retrieving revision 1.14
diff -u -r1.14 util.c
--- src/util.c	8 Nov 2002 00:15:11 -0000	1.14
+++ src/util.c	28 Dec 2002 20:49:37 -0000
@@ -299,7 +299,7 @@
         Py_INCREF(Py_None);
         PyTuple_SET_ITEM(t, 8, Py_None);
     }
-    // XXX hostent, is_initialized, dns_*
+    /* XXX hostent, is_initialized, dns_* */

     return t;
 }


Mime
View raw message