mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
efd1be5d62
re: https://github.com/Unidata/netcdf-c/issues/1988 There was an issue with certain shell programs (bash notably). For certain platforms and when given a url that had an escaped '#' character (e.g. \\#) bash would not remove the backslash. So I had to add a hack for this. Unfortunately I overdid it and it removed all '' characters. This is ok for non-windows platforms, but obviously fails for windows. The fix is this. 1. In a utility program (ncgen, ncdump, nccopy, etc) there is probably a call (or calls) to NC_backslashUnescape(xxx) where xxx is a path argument from the command line. 2. Replace each such call with NC_shellUnescape(xxx). The NC_shellUnescape function was added and searched only for occurrences of "\#" and replaces them with "#". |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Makefile.am | ||
test_ncuri.c | ||
test_pathcvt.c | ||
timer_utils.c | ||
timer_utils.h | ||
tst_exhash.c | ||
tst_nc4internal.c | ||
tst_nclist.c | ||
tst_xcache.c |