[Mapserver-dev] copyProperty in mapserver

Sean Gillies sgillies at frii.com
Mon May 31 11:05:22 EDT 2004


On May 31, 2004, at 3:04 AM, Mladen Turk wrote:

> Hi,
>
> Here is the patched mapcopy.c, that uses few macros instead 
> copyProperty
> functions.
>
> I'm sending the complete file instead the patch, cause it's quite a 
> large one
> :)
> Also, I've moved msCopySymbol and msCopySymbolSet from mapsymbol.c so 
> that the
> new macros can be used (IMO those functions belongs in the mapcopy 
> anyhow), so
> if applied those functions has to be removed from mapsymbol.c.
>
> I've tested them and AFAICT there are no memory leaks, nor heap 
> corruption
> caused by copyStringProperty used in the previous implementation.
>
> MT.
> <mapcopy.c.txt>

I created a new issue in the tracker for this

   http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=701

Let's continue to discuss it there.  I'm finding that one of your 
macros is not
working on my system.

Sean




More information about the mapserver-dev mailing list