Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
e0955a43
Commit
e0955a43
authored
Jan 04, 2018
by
Uwe Schulzweida
Browse files
Merge branch 'develop' of git.mpimet.mpg.de:cdo into develop
parents
f77d800c
b751dc7b
Changes
2
Show whitespace changes
Inline
Side-by-side
src/Importbinary.cc
View file @
e0955a43
...
...
@@ -279,13 +279,14 @@ void *Importbinary(void *argument)
vlistDefVarName
(
vlistID
,
varID
,
pvar
->
abbrv
);
{
size_t
len
=
strlen
(
pvar
->
varnm
);
char
*
longname
=
pvar
->
varnm
;
size_t
len
=
strlen
(
longname
);
if
(
longname
[
0
]
==
'\''
&&
longname
[
len
-
1
]
==
'\''
)
{
longname
[
len
-
1
]
=
0
;
longname
++
;
}
if
(
longname
[
0
]
==
'\t'
)
longname
++
;
vlistDefVarLongname
(
vlistID
,
varID
,
longname
);
}
...
...
src/gradsdeslib.cc
View file @
e0955a43
...
...
@@ -632,7 +632,7 @@ char *ch;
void
getwrd
(
char
*
ch1
,
char
*
ch2
,
int
len
)
{
while
(
len
>
0
&&
*
ch2
!=
'\n'
&&
*
ch2
!=
'\0'
&&
*
ch2
!=
'\r'
&&
*
ch2
!=
' '
)
{
while
(
len
>
0
&&
*
ch2
!=
'\n'
&&
*
ch2
!=
'\0'
&&
*
ch2
!=
'\r'
&&
*
ch2
!=
' '
&&
*
ch2
!=
'\t'
)
{
*
ch1
=
*
ch2
;
len
--
;
ch1
++
;
ch2
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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