mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
fix count error when converting dap attributes
This commit is contained in:
parent
7b47adf3a1
commit
42a2d2aa17
8
cf
8
cf
@ -2,7 +2,7 @@
|
||||
#X="-x"
|
||||
|
||||
#HDF5=1
|
||||
#DAP=1
|
||||
DAP=1
|
||||
#CDMR=1
|
||||
#RPC=1
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
|
||||
#NB=1
|
||||
|
||||
#cmds=""
|
||||
cmds=""
|
||||
#cmds="all"
|
||||
cmds="all check"
|
||||
#cmds="all check"
|
||||
#cmds="all dist"
|
||||
#cmds="all distcheck"
|
||||
|
||||
PREFIX="/tmp/install/${HOST}"
|
||||
PREFIX="/tmp/${HOST}"
|
||||
stddir="/share/ed/local/${HOST}"
|
||||
|
||||
CPPFLAGS=""
|
||||
|
@ -251,6 +251,7 @@ dapcvtattrval3(nc_type etype, void* dst, NClist* src)
|
||||
case NC_STRING: case NC_URL: {
|
||||
char** p = (char**)dstmem;
|
||||
*p = nulldup(s);
|
||||
ok = 1;
|
||||
} break;
|
||||
default:
|
||||
PANIC1("unexpected nc_type: %d",(int)etype);
|
||||
|
Loading…
Reference in New Issue
Block a user