Changeset 160
- Timestamp:
- 09/04/07 15:30:50 (20 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
etc/sm.xml.dist.in (modified) (1 diff)
-
sm/mm.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/etc/sm.xml.dist.in
r153 r160 205 205 doing. --> 206 206 <modules> 207 <!-- Dynamic sm modules path 208 209 Trailing slash is significant. --> 210 <path>@pkglibdir@/</path> 207 <!-- Dynamic sm modules path --> 208 <path>@pkglibdir@</path> 211 209 212 210 <!-- sess-start. The modules in this chain are called when a session -
trunk/sm/mm.c
r159 r160 173 173 #ifndef WIN32 174 174 if (modules_path != NULL) 175 snprintf(mod_fullpath, 512, "%s mod_%s.so", modules_path, name);175 snprintf(mod_fullpath, 512, "%s/mod_%s.so", modules_path, name); 176 176 else 177 snprintf(mod_fullpath, 512, " mod_%s.so", name);177 snprintf(mod_fullpath, 512, "%s/mod_%s.so", PACKAGE_DIR, name); 178 178 mod->handle = dlopen(mod_fullpath, RTLD_LAZY); 179 179 if (mod->handle != NULL)
