What the python is going on?

Julien ÉLIE julien at trigofacile.com
Tue Jun 10 17:29:12 UTC 2008


Hi The Doctor,

> python.c:631: `INN_PATH_PYTHON_STARTUP_M' undeclared (first use in this function)
>
> REmove python and it does complie.  Please fix.

I am totally sorry for that very bad backport.
I had '--with-python' only in my trunk; now added to my branches.


Sorry again.

Here is the patch:

Index: innd/python.c
===================================================================
--- innd/python.c       (révision 7872)
+++ innd/python.c       (copie de travail)
@@ -628,7 +628,7 @@
      *     (this will bind the name to the partially initialized module object)
      *     before you can reload() it.
      */
-    PYFilterModule = PyImport_ImportModule((char *) INN_PATH_PYTHON_STARTUP_M);
+    PYFilterModule = PyImport_ImportModule((char *) _PATH_PYTHON_STARTUP_M);
     if (PYFilterModule == NULL) {
         syslog(L_ERROR, "failed to reimport external python module");
     }

-- 
Julien ÉLIE

« Quousque tandem ? » (Cicéron)



More information about the inn-workers mailing list