Bug in msSaveSymbolSet
Albert Rovira
arovira at NGEOGRAFICS.COM
Mon Jan 16 07:42:13 PST 2006
Hi all,
I found a litte bug in function msSaveSymbolSet. It don't close the file
stream, so data about symbols are lost.
int msSaveSymbolSet(symbolSetObj *symbolset, const char *filename) {
FILE *stream;
int retval;
if (!filename || strlen(filename) == 0) {
msSetError(MS_SYMERR, "Invalid filename.", "msSaveSymbolSet()");
return MS_FAILURE;
}
stream = fopen(filename, "w");
retval = msSaveSymbolSetStream(symbolset, stream);
return retval;
}
More information about the MapServer-users
mailing list