From a6a2a1badb85fffcc7ed9f1133ab3c4bf1900caa Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Thu, 19 Dec 2024 13:19:12 -0700 Subject: [PATCH] mingw --- .github/workflows/run_tests_win_mingw.yml | 6 +++--- libdispatch/dplugins.c | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_tests_win_mingw.yml b/.github/workflows/run_tests_win_mingw.yml index 069befc366..fe88c64648 100644 --- a/.github/workflows/run_tests_win_mingw.yml +++ b/.github/workflows/run_tests_win_mingw.yml @@ -7,8 +7,8 @@ name: Run MSYS2, MinGW64-based Tests (Not Visual Studio) env: - #CPPFLAGS: "-D_BSD_SOURCE" - REMOTETESTDOWN: no + CPPFLAGS: "-D_BSD_SOURCE" + REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }} on: [push,pull_request,workflow_dispatch] @@ -57,7 +57,7 @@ jobs: run: cat libnetcdf.settings - name: (Autotools) Build Library and Utilities - run: make -j 8 LDFLAGS="-Wl,--export-all-symbols" CFLAGS="-O0 -fsanitize=address -fno-omit-frame-pointer" + run: make -j 8 LDFLAGS="-Wl,--export-all-symbols" if: ${{ success() }} - name: Check for plugins diff --git a/libdispatch/dplugins.c b/libdispatch/dplugins.c index f0cb277bf6..f01360e67e 100644 --- a/libdispatch/dplugins.c +++ b/libdispatch/dplugins.c @@ -285,7 +285,6 @@ nc_plugin_path_set(NCPluginList* dirs) assert(gs->pluginpaths != NULL); for(i=0;indirs;i++) { nclistpush(gs->pluginpaths,nulldup(dirs->dirs[i])); -if(gs->pluginpaths->content[0] < (char*)1000) abort(); } }