This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Max, You wrote: > Also, I get a segmentation fault from the line > res = snprintf(sout, PRIM_LEN, typ->fmt, *(char *)valp); > in function ncchar_typ_tostring. > Maybe because the terminating \0 is not getting through? Do you have a small test demonstrating this or was it just a string member of a compound type? I'd like to include it in my new more thorough test of ncdump on compound types and make sure I fix the right bug. Thanks. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: ODF-774270 Department: Support netCDF Priority: Normal Status: Closed