Page 1 of 1

Another VC6/Windows patch

Posted: 2009-01-21T07:40:47-07:00
by MarkFreeman
Hi,

I was still seeing a crash after rebuilding with the patched code from svn. Added the following to module.c and it works now:

OpenModule in module.c line 1128 replace:

(void) LogMagickEvent(ModuleEvent,GetMagickModule(),
"Opening module at path \"%s\"",path);
handle=(ModuleHandle) lt_dlopen(path);

with


#if defined(__WINDOWS__)
strcat(path,"\\");
strcat(path,filename);
#endif
(void) LogMagickEvent(ModuleEvent,GetMagickModule(),
"Opening module at path \"%s\"",path);
handle=(ModuleHandle) lt_dlopen(path);


cheers,

Mark.

Re: Another VC6/Windows patch

Posted: 2009-01-21T07:48:36-07:00
by magick
Thanks for the patch. We'll get into the Subversion trunk by tomorrow.