mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-23 16:59:54 +08:00
The problem is that the name was being updated prior to the old variable being removed from the hashmap. It checks whether the key and the name of the variable being removed match, but since the name had already been updated, the names did not match so the variable was not removed. This patch removes the variable from the hashmap first, then updates the name, and then adds the variable with the new name to the hashmap. Similar change for renaming dimensions. |
||
---|---|---|
.. | ||
attr.m4 | ||
CMakeLists.txt | ||
depend | ||
dim.c | ||
ffio.c | ||
lookup3.c | ||
Makefile.am | ||
memio.c | ||
mmapio.c | ||
nc3dispatch.c | ||
nc3dispatch.h | ||
nc3internal.c | ||
nc_hashmap.c | ||
ncFile.c | ||
ncio.c | ||
ncio.h | ||
ncstdio.c | ||
ncstdio.h | ||
ncx_cray.c | ||
ncx.h | ||
ncx.m4 | ||
posixio.c | ||
pstdint.h | ||
putget.m4 | ||
t_ncio.c | ||
t_ncio.in | ||
t_ncxx.m4 | ||
test_nc.sav | ||
v1hpg.c | ||
var.c | ||
winceio.c | ||
XGetopt.c |