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.
Mike, > I'm not familiar with the syntax of your diff output. It appears > the fix is either to use: > > /* if(*cp && (isspace(*cp) | iscntrl(*cp)))*/ > ! if((*cp >= 0x01 && *cp <= 0x32) || (*cp == 0x7f) > > or use: > > /* if(*cp && (isspace(*cp) | iscntrl(*cp)))*/ > ! if((*cp >= 0x00 && *cp <= 0x20) || (*cp == 0x7f)) > > Which one should I use? Oops, sorry, you should use the second one and remove the exclamation mark, so the code should appear in context as the following 3 lines, where only the middle line has changed: /* if(*cp && (isspace(*cp) | iscntrl(*cp)))*/ if((*cp >= 0x01 && *cp <= 0x20) || (*cp == 0x7f)) { --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: MQV-638321 Department: Support netCDF Priority: Normal Status: Closed