From bf6c5521893959433fc872d01bd94fb76c5b7596 Mon Sep 17 00:00:00 2001 From: "roberto@longshot" Date: Mon, 2 Apr 2012 07:55:22 +0200 Subject: [PATCH] fixed python 2.4 --- buildconf/unbit.ini | 8 ++++---- plugins/python/python_plugin.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buildconf/unbit.ini b/buildconf/unbit.ini index 584c96d0..37693964 100644 --- a/buildconf/unbit.ini +++ b/buildconf/unbit.ini @@ -2,7 +2,7 @@ xml = true ini = true yaml = true -json = true +json = false sqlite3 = false zeromq = false snmp = false @@ -15,12 +15,12 @@ threading = true sendfile = true minterpreters = true async = true -evdis = false ldap = true -pcre = false +pcre = true +routing = true debug = false unbit = true -xml_implementation = libxml2 +xml_implementation = expat yaml_implementation = auto malloc_implementation = libc plugins = diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 7bcfdb48..83a37e2c 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -1303,7 +1303,7 @@ cycle: // do not start monitoring til the first app is loaded (required for lazy mode) if (uwsgi_apps_cnt == 0) continue; #ifdef UWSGI_PYTHON_OLD - int hhpos = 0; + int pos = 0; #else Py_ssize_t pos = 0; #endif