|
Jim Gallacher made changes - 06/Mar/06 08:23 AM
Jim Gallacher made changes - 11/Mar/06 11:18 AM
Jim Gallacher made changes - 12/Mar/06 05:44 AM
Graham Dumpleton made changes - 12/Aug/06 07:53 AM
Graham Dumpleton made changes - 11/Apr/07 11:25 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://svn.apache.org/viewcvs/httpd/mod_python/trunk/src/include/mod_python.h.in?rev=385000&r1=384999&r2=385000&view=diff
I think you probably want:
/* MUTEX_DIR can be set as a configure option
* ./configure --with-mutex-dir=/path/to/dir
*/
#define MUTEX_DIR "@MUTEX_DIR@"
Ie., quote value of macro.
And in:
http://svn.apache.org/viewcvs/httpd/mod_python/trunk/src/mod_python.c?rev=385000&r1=384999&r2=385000&view=diff
you probably want:
snprintf(fname, 255, "%s/mpmtx%d%d", MUTEX_DIR, glb->parent_pid, n);
Ie., MUTEX_DIR is substituted using %s, as macro will not be expanded in string.
Not sure why tests still pass with the way it was.