On Thu, Mar 26, 2009 at 9:20 PM, Peter Cawley <[email protected]> wrote: > The function apl_load_apache2_lmodule, which is meant to load the > apache2 library is flawed in that it loads the library into the > package.loaded table and sets this as the global "apache2". It should > load it into a new table, and set this as the global "apache2" and > package.loaded.apache2. What follows is a small test script which > shows this (all tests _should_ pass, but most of the apache2 ones do > not). Also attached is a patch which fixes this.
I have tested the patch and I confirm it fixes the bug (thank you Peter). Now OK, DECLINED etc are accessible. I have patched my work repository: http://mamasam.indefero.net/p/modlua/source/tree/mansion/ -- Bertrand Mansion Mamasam
