[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #GFG-507049]: ncdump and ncgen



Hi Ludovic,

If you are using netCDF-3.6.2 (the latest full actual release), a fix for the
problem would require recompiling
ncdump after inserting one line in the file ncdump/dumplib.c, before line 132,
according to this context diff:

$ diff -c dumplib.c~ dumplib.c
*** dumplib.c~  Fri Feb 16 06:39:09 2007
--- dumplib.c   Sat Apr 19 19:29:19 2008
***************
*** 129,134 ****
--- 129,135 ----
                        nc_strerror(nc_stat));
                (void) fflush(stderr);
            }
+           cfmt[cfmt_len] = '\0';
            return &cfmt[0];
        }
        break;

This fix will be in an upcoming snapshot release or in the netCDF-4.0-beta2
release, if you
would rather wait for it.  If you have problems applying the patch or
rebuilding, please let
us know.

Thanks again for reporting the bug.

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: GFG-507049
Department: Support netCDF
Priority: Normal
Status: Closed