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
24b58b68
Commit
24b58b68
authored
Nov 04, 2015
by
Uwe Schulzweida
Browse files
tableRead: name is not interpreted correctly (bug introduced in 1.7.0 #3933)
parent
b1f9fa9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
24b58b68
...
...
@@ -3,6 +3,10 @@
* Version 1.7.1 released
* using CGRIBEX library version 1.7.4
2015-11-04 Uwe Schulzweida
* tableRead: name is not interpreted correctly (bug introduced in 1.7.0 #3933)
2015-10-27 Uwe Schulzweida
* Version 1.7.0 released
...
...
src/table.c
View file @
24b58b68
...
...
@@ -360,7 +360,7 @@ int tableRead(const char *tablefile)
*/
if
(
id
==
0
)
continue
;
while
(
isdigit
((
int
)
*
pline
)
)
pline
++
;
while
(
isdigit
((
int
)
*
pline
)
)
pline
++
;
if
(
strchr
(
pline
,
'|'
)
)
err
=
decodeForm2
(
pline
,
name
,
longname
,
units
);
...
...
@@ -369,7 +369,7 @@ int tableRead(const char *tablefile)
if
(
err
)
continue
;
if
(
name
[
0
]
)
sprintf
(
name
,
"var%d"
,
id
);
if
(
name
[
0
]
==
0
)
sprintf
(
name
,
"var%d"
,
id
);
tableDefEntry
(
tableID
,
id
,
name
,
longname
,
units
);
}
...
...
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