-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NetCDF] add patch related to Unidata/netcdf-c#2352 (#4934)
* add patch related to Unidata/netcdf-c#2352 * bump version_offset
- Loading branch information
1 parent
093fdc9
commit cb28df6
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
N/NetCDF/bundled/patches/0004-save-rc-in-globalstate-rcinfo.triples.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From bdafbf13ade3d75feeed07b9190c718e092ac3f6 Mon Sep 17 00:00:00 2001 | ||
From: Alexander Barth <barth.alexander@gmail.com> | ||
Date: Fri, 13 May 2022 13:44:35 +0200 | ||
Subject: [PATCH] save rc in globalstate->rcinfo.triples | ||
|
||
--- | ||
libdispatch/drc.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/libdispatch/drc.c b/libdispatch/drc.c | ||
index 64d34bd5..d39f133a 100644 | ||
--- a/libdispatch/drc.c | ||
+++ b/libdispatch/drc.c | ||
@@ -513,6 +513,7 @@ NC_rcfile_insert(const char* key, const char* value, const char* hostport) | ||
|
||
if(rc == NULL) { | ||
rc = nclistnew(); | ||
+ globalstate->rcinfo.triples = rc; | ||
if(rc == NULL) {ret = NC_ENOMEM; goto done;} | ||
} | ||
triple = rclocate(key,hostport); | ||
-- | ||
2.25.1 | ||
|