netcdf-c/libnczarr
Dan Ibanez 6173956790 Rename variable to avoid function name conflict
I was getting the following error while compiling:

```
netcdf-c/libnczarr/zutil.c:544:26: error: called object 'strlen' is not a function or function pointer
  544 |     if(dnamep) *dnamep = strdup(dname);
      |                          ^~~~~~
netcdf-c/libnczarr/zutil.c:533:68: note: declared here
  533 | ncz_nctype2dtype(nc_type nctype, int endianness, int purezarr, int strlen, char** dnamep)
      |                                                                ~~~~^~~~~~
```

My interpretation is that strdup() is implemented as a macro
which calls strlen() the standard C function, and when that
macro is being substituted here the call to strlen tries
to "call" the integer variable named strlen.

Resolving this by renaming the integer variable to "len"
instead of "strlen", avoiding a conflict with a standard
C library function name.
2022-11-07 13:24:20 -07:00
..
obsolete Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
CMakeLists.txt Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
Makefile.am Merge branch 'tinyxml2.dmh' of https://github.com/DennisHeimbigner/netcdf-c into gh2170.wif 2022-03-29 11:31:31 -06:00
SimpleBinStream.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zarr.c Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00
zarr.h Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00
zattr.c Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00
zcache.h Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00
zchunking.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zchunking.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
zclose.c Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00
zcreate.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
zcvt.c Fix some problems with PR https://github.com/Unidata/netcdf-c/pull/2492 2022-09-03 14:21:48 -06:00
zdebug.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
zdebug.h Fix some addtional errors in NCZarr 2022-09-09 14:25:24 -06:00
zdim.c Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
zdispatch.c Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
zdispatch.h Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
zfile.c Merge branch 'main' into bloscfix.dmh 2022-09-06 13:49:18 -06:00
zfilter.c Fix internal bz2 problems 2022-05-27 15:45:34 -06:00
zfilter.h I made a major update to this PR with the following changes: 2022-05-19 22:00:40 -06:00
zgrp.c Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
zincludes.h Move to Version 2 NCZarr Extended Meta-Data 2021-07-17 16:55:30 -06:00
zinternal.c Improve filter installation process to avoid use of an extra shell script 2022-05-14 16:05:48 -06:00
zinternal.h Fix some problems with PR https://github.com/Unidata/netcdf-c/pull/2492 2022-09-03 14:21:48 -06:00
zmap_file.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
zmap_s3sdk.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
zmap_zip.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
zmap.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
zmap.h Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
zodom.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zodom.h More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zopen.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
zprov.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
zprovenance.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zs3sdk.cpp Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
zsync.c Fix some addtional errors in NCZarr 2022-09-09 14:25:24 -06:00
ztype.c Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00
zutil.c Rename variable to avoid function name conflict 2022-11-07 13:24:20 -07:00
zvar.c Fix some problems with PR https://github.com/Unidata/netcdf-c/pull/2492 2022-09-03 14:21:48 -06:00
zwalk.c Fix some problems with PR https://github.com/Unidata/netcdf-c/pull/2492 2022-09-03 14:21:48 -06:00
zxcache.c Add support for Zarr string type to NCZarr 2022-08-27 20:21:13 -06:00