Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
c64300c5
Commit
c64300c5
authored
May 18, 2012
by
Uwe Schulzweida
Browse files
stream_cdf::cdfDefUnstructured: fixed memory bug [ICON - Bug #2398]
parent
13bf9108
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
c64300c5
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
...
...
configure
View file @
c64300c5
...
...
@@ -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'
...
...
src/stream_cdf.c
View file @
c64300c5
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment