You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by gr...@apache.org on 2002/09/24 18:20:42 UTC
cvs commit: httpd-python/src requestobject.c
grisha 2002/09/24 09:20:42
Modified: src requestobject.c
Log:
removed some debugging code in requestobject.c that wasnt supposed to slip into cvs
Revision Changes Path
1.33 +1 -14 httpd-python/src/requestobject.c
Index: requestobject.c
===================================================================
RCS file: /home/cvs/httpd-python/src/requestobject.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- requestobject.c 24 Sep 2002 16:01:28 -0000 1.32
+++ requestobject.c 24 Sep 2002 16:20:42 -0000 1.33
@@ -808,20 +808,7 @@
}
-//XXX segfault generator
-static char* req_segfault(requestobject *self)
-{
-
- char *x = 1;
-
- ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, self->request_rec, "about to segfault...");
-
- *x = 'x';
- return x;
-}
-
static PyMethodDef request_methods[] = {
- {"segfault", (PyCFunction) req_segfault, METH_NOARGS},
{"add_common_vars", (PyCFunction) req_add_common_vars, METH_NOARGS},
{"add_handler", (PyCFunction) req_add_handler, METH_VARARGS},
{"allow_methods", (PyCFunction) req_allow_methods, METH_VARARGS},