[mapserver-commits] r7425 - branches/branch-5-0/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Mar 3 15:05:24 EST 2008
Author: dmorissette
Date: 2008-03-03 15:05:24 -0500 (Mon, 03 Mar 2008)
New Revision: 7425
Modified:
branches/branch-5-0/mapserver/HISTORY.TXT
branches/branch-5-0/mapserver/mapimagemap.c
Log:
Fixed problem with large imagemaps generating no output (#2526)
Modified: branches/branch-5-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-5-0/mapserver/HISTORY.TXT 2008-03-03 19:07:05 UTC (rev 7424)
+++ branches/branch-5-0/mapserver/HISTORY.TXT 2008-03-03 20:05:24 UTC (rev 7425)
@@ -13,6 +13,8 @@
Version 5.0.3 (svn branch-5-0)
------------------------------
+- Fixed problem with large imagemaps generating no output (#2526)
+
- Fixed problem with two division signs in an expression being treated
as a regex (#2527)
Modified: branches/branch-5-0/mapserver/mapimagemap.c
===================================================================
--- branches/branch-5-0/mapserver/mapimagemap.c 2008-03-03 19:07:05 UTC (rev 7424)
+++ branches/branch-5-0/mapserver/mapimagemap.c 2008-03-03 20:05:24 UTC (rev 7425)
@@ -2029,7 +2029,7 @@
{
snprintf(workbuffer, sizeof(workbuffer), "%s", img->img.imagemap+iIndice );
workbuffer[nSize-1] = '\0';
- msIO_fprintf(stream, workbuffer);
+ msIO_fwrite(workbuffer, strlen(workbuffer), 1, stream);
iIndice +=nSize-1;
}
if (iIndice < size)
@@ -2039,7 +2039,7 @@
}
}
else
- msIO_fprintf(stream, img->img.imagemap);
+ msIO_fwrite(img->img.imagemap, size, 1, stream);
if( strcasecmp("OFF",msGetOutputFormatOption( format, "SKIPENDTAG", "OFF" )) == 0){
if (dxf == 2)
msIO_fprintf(stream, "END");
More information about the mapserver-commits
mailing list