[SCM] PostGIS branch master updated. 3.5.0-395-g7a420853f

git at osgeo.org git at osgeo.org
Thu Jun 12 02:57:22 PDT 2025


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  7a420853f4f810a66cd7361615df0411cfb03c11 (commit)
      from  f6402945ae61a59768992b6d2e171b8cb41090d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7a420853f4f810a66cd7361615df0411cfb03c11
Author: Maksim Korotkov <m.korotkov at postgrespro.ru>
Date:   Tue Jun 10 14:52:22 2025 +0300

    Added missing curly braces for the conditional block
    
    Signed-off-by: Maksim Korotkov <m.korotkov at postgrespro.ru>

diff --git a/liblwgeom/stringbuffer.c b/liblwgeom/stringbuffer.c
index 66951e39c..402f1b25b 100644
--- a/liblwgeom/stringbuffer.c
+++ b/liblwgeom/stringbuffer.c
@@ -213,9 +213,11 @@ stringbuffer_avprintf(stringbuffer_t *s, const char *fmt, va_list ap)
 	/* Propagate errors up */
 	if ( len < 0 )
 		#if defined(__MINGW64_VERSION_MAJOR)
+		{
 		va_copy(ap2, ap);
 		len = _vscprintf(fmt, ap2);/**Assume windows flaky vsnprintf that returns -1 if initial buffer to small and add more space **/
 		va_end(ap2);
+		}
 		#else
 		return len;
 		#endif

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/stringbuffer.c | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list