405f23f2d9
Version 3.1.3 Apache module that embeds the Python interpreter As discussed on the mailing list, this package builds and runs for the most part but fails if the web server has too many backends. Adding it breaks nothing and does add functionality. I will file a PR to keep track of the remaining issue.
15 lines
582 B
Text
15 lines
582 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2004/07/17 01:11:36 darcy Exp $
|
|
|
|
--- src/requestobject.c.orig 2004-06-10 17:55:28.000000000 -0400
|
|
+++ src/requestobject.c
|
|
@@ -1118,8 +1118,8 @@ static PyObject *getreq_recmbr_off(reque
|
|
{
|
|
PyMemberDef *md = find_memberdef(request_rec_mbrs, name);
|
|
char *addr = (char *)self->request_rec + md->offset;
|
|
- if (sizeof(apr_off_t) == sizeof(LONG_LONG)) {
|
|
- LONG_LONG l = *(LONG_LONG*)addr;
|
|
+ if (sizeof(apr_off_t) == sizeof(long long)) {
|
|
+ long long l = *(long long*)addr;
|
|
return PyLong_FromLongLong(l);
|
|
}
|
|
else {
|