[TinyOWS-users] mapfile INCLUDE with relative path

Marc-André Trottier marcandre_trottier at hotmail.com
Fri Jul 8 15:07:10 EST 2011


mapfile_build_path() in mapfile.c does not return the good path when it's a
relative path

i put this instead of buffer_copy() and buffer_add_str() :

 buffer_add_str(path, "path_to_mapfile");
 buffer_add_str(path,"relative_path");

and it's work

in this :
buffer_copy(path, o->config_file);

o->config_file seems to contains the name of the mapfile

Marc-André Trottier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110708/d802200c/attachment.htm 


More information about the TinyOWS-users mailing list