From: Gonzalo A. <ga...@us...> - 2008-11-05 14:53:20
|
Update of /cvsroot/mod-c/mod_c/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27408/src Modified Files: lib_cache.cpp Log Message: Using RTLD_LAZY is not *that* wise. Expierence shows that it is better to get 'Undefined symbols' errors at startup, rather at each request. Index: lib_cache.cpp =================================================================== RCS file: /cvsroot/mod-c/mod_c/src/lib_cache.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** lib_cache.cpp 1 Apr 2007 13:25:55 -0000 1.6 --- lib_cache.cpp 5 Nov 2008 14:53:13 -0000 1.7 *************** *** 64,68 **** int LoadEHTMLFile(const char* ehtml, ehtml_rec* e) { ! e->fileh = dlopen(ehtml, RTLD_LAZY); if (e->fileh == NULL) return -1; --- 64,68 ---- int LoadEHTMLFile(const char* ehtml, ehtml_rec* e) { ! e->fileh = dlopen(ehtml, RTLD_NOW); if (e->fileh == NULL) return -1; |