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
8b3cd3d3
Commit
8b3cd3d3
authored
Jul 02, 2016
by
Uwe Schulzweida
Browse files
streamOpenAppend: call to gribContainersNew() missing (bug fix)
parent
13cb2517
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8b3cd3d3
2016-07-02 Uwe Schulzweida
* streamOpenAppend: call to gribContainersNew() missing (bug fix) [Bug #6944]
2016-06-17 Uwe Schulzweida
* netCDF4: added support for attribute type NC_BYTE, NC_UBYTE, NC_USHORT and NC_UINT
...
...
src/gribapi.c
View file @
8b3cd3d3
...
...
@@ -53,12 +53,10 @@ const char *gribapiLibraryVersionString(void)
void
gribContainersNew
(
stream_t
*
streamptr
)
{
int
editionNumber
=
2
;
int
editionNumber
=
(
streamptr
->
filetype
==
FILETYPE_GRB
)
?
1
:
2
;
if
(
streamptr
->
filetype
==
FILETYPE_GRB
)
editionNumber
=
1
;
(
void
)
editionNumber
;
#if defined (HAVE_LIBCGRIBEX)
if
(
streamptr
->
filetype
==
FILETYPE_GRB
)
if
(
editionNumber
==
1
)
{
}
else
...
...
src/stream.c
View file @
8b3cd3d3
...
...
@@ -654,6 +654,7 @@ int streamOpenA(const char *filename, const char *filemode, int filetype)
case
FILETYPE_GRB2
:
{
fileID
=
gribOpen
(
filename
,
filemode
);
if
(
fileID
!=
CDI_UNDEFID
)
gribContainersNew
(
streamptr
);
break
;
}
#endif
...
...
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