Commit c64300c5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

stream_cdf::cdfDefUnstructured: fixed memory bug [ICON - Bug #2398]

parent 13bf9108
2012-05-18 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_cdf::cdfDefUnstructured: fixed memory bug [ICON - Bug #2398]
2012-05-15 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* Version 1.5.5 released
......
......@@ -812,6 +812,7 @@ enable_dependency_tracking
with_gnu_ld
with_sysroot
enable_libtool_lock
with_gnu_ld
enable_largefile
with_threads
with_zlib
......@@ -843,16 +844,25 @@ LDFLAGS
LIBS
CPPFLAGS
CPP
CPPFLAGS
FC
FCFLAGS
LDFLAGS
LIBS
FPP
FPPFLAGS
F77
FFLAGS
LDFLAGS
LIBS
CXX
CXXFLAGS
LDFLAGS
LIBS
CPPFLAGS
CCC
CXXCPP
CPPFLAGS
FCMODEXT'
 
 
......
......@@ -1944,8 +1944,6 @@ void cdfDefGdim(int streamID, int gridID)
static
void cdfDefUnstructured(int streamID, int gridID)
{
char axisname[] = "ncells";
char vertname[] = "nv";
char xunits[256];
char xlongname[256];
char xstdname[256];
......@@ -2013,6 +2011,11 @@ void cdfDefUnstructured(int streamID, int gridID)
if ( dimID == UNDEFID )
{
int status;
char axisname[256];
char vertname[256];
strcpy(axisname, "ncells");
strcpy(vertname, "nv");
status = checkGridName('V', xaxisname, fileID, vlistID, gridID, ngrids, 'X');
status = checkGridName('V', yaxisname, fileID, vlistID, gridID, ngrids, 'Y');
status = checkGridName('D', axisname, fileID, vlistID, gridID, ngrids, 'X');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment