[SCM] PostGIS branch master updated. 3.7.0beta1-101-gf7c211c2f1
git at osgeo.org
git at osgeo.org
Mon Jul 27 16:34:37 PDT 2026
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 f7c211c2f14f0b74a8da35d5ef9de9bc962de4cc (commit)
via 597b988de28c4455a3861f2d522a4b9771db47d9 (commit)
from e609ba49b4faa44e0a043614ef14a748cade8452 (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 f7c211c2f14f0b74a8da35d5ef9de9bc962de4cc
Merge: e609ba49b4 597b988de2
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Mon Jul 27 16:34:36 2026 -0700
Merge pull request 'Fix fuzzer corpus builder mkdir on Windows' (!567) from Komzpa/postgis:fix/fuzzer-seed-builder-mingw-mkdir into master
Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/567
commit 597b988de28c4455a3861f2d522a4b9771db47d9
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Tue Jul 28 02:23:40 2026 +0400
Fix fuzzer corpus builder mkdir on Windows
diff --git a/fuzzers/build_gserialized_seed_corpus.cpp b/fuzzers/build_gserialized_seed_corpus.cpp
index f3fa8ef2cd..d3d374cea1 100644
--- a/fuzzers/build_gserialized_seed_corpus.cpp
+++ b/fuzzers/build_gserialized_seed_corpus.cpp
@@ -22,6 +22,10 @@
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef _WIN32
+#include <direct.h>
+#endif
+
#include <fstream>
#include <string>
@@ -37,7 +41,15 @@ extern "C" GSERIALIZED *gserialized1_from_lwgeom(LWGEOM *geom, size_t *size);
static int
mkdir_if_needed(const std::string &path)
{
- if (mkdir(path.c_str(), 0777) == 0 || errno == EEXIST)
+ int result;
+
+#ifdef _WIN32
+ result = _mkdir(path.c_str());
+#else
+ result = mkdir(path.c_str(), 0777);
+#endif
+
+ if (result == 0 || errno == EEXIST)
return 1;
perror(path.c_str());
return 0;
-----------------------------------------------------------------------
Summary of changes:
fuzzers/build_gserialized_seed_corpus.cpp | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list