[gdal-dev] Resizing CPLErrorContext?

Even Rouault even.rouault at spatialys.com
Tue May 16 13:00:42 PDT 2017


> 
> A related question... any idea what the '0' char is for?  It looks like you
> introduced the zero char after \n in
> https://trac.osgeo.org/gdal/changeset/14601  and I don't see '0' in
> https://trac.osgeo.org/gdal/browser/trunk/gdal/port/cpl_error.cpp?
annotate=b
> lame&rev=14600

Should have been '\0' indeed. Fixed. This has no practical consequence 
since this character is just overwritten by the CPLvsnprintf() call a few 
lines after.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170516/6e3dacfd/attachment.html>


More information about the gdal-dev mailing list