Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
8e9fd78c
Commit
8e9fd78c
authored
Aug 01, 2016
by
Uwe Schulzweida
Browse files
Renamed CHUNK_XXX to CDI_CHUNK_XXX.
parent
cbc0e9f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Filedes.c
View file @
8e9fd78c
...
...
@@ -211,17 +211,17 @@ void partab(FILE *fp, int streamID, int option)
}
int
chunktype
=
vlistInqVarChunkType
(
vlistID
,
varID
);
if
(
chunktype
==
CHUNK_AUTO
)
if
(
chunktype
==
CDI_
CHUNK_AUTO
)
{
fprintf
(
fp
,
" chunktype=auto"
);
if
(
linebreak
)
fprintf
(
fp
,
"
\n
"
);
}
else
if
(
chunktype
==
CHUNK_GRID
)
else
if
(
chunktype
==
CDI_
CHUNK_GRID
)
{
fprintf
(
fp
,
" chunktype=grid"
);
if
(
linebreak
)
fprintf
(
fp
,
"
\n
"
);
}
if
(
chunktype
==
CHUNK_LINES
)
if
(
chunktype
==
CDI_
CHUNK_LINES
)
{
fprintf
(
fp
,
" chunktype=lines"
);
if
(
linebreak
)
fprintf
(
fp
,
"
\n
"
);
...
...
src/cdo.c
View file @
8e9fd78c
...
...
@@ -661,9 +661,9 @@ void defineCompress(const char *arg)
static
void
defineChunktype
(
const
char
*
arg
)
{
if
(
strcmp
(
"auto"
,
arg
)
==
0
)
cdoChunkType
=
CHUNK_AUTO
;
else
if
(
strcmp
(
"grid"
,
arg
)
==
0
)
cdoChunkType
=
CHUNK_GRID
;
else
if
(
strcmp
(
"lines"
,
arg
)
==
0
)
cdoChunkType
=
CHUNK_LINES
;
if
(
strcmp
(
"auto"
,
arg
)
==
0
)
cdoChunkType
=
CDI_
CHUNK_AUTO
;
else
if
(
strcmp
(
"grid"
,
arg
)
==
0
)
cdoChunkType
=
CDI_
CHUNK_GRID
;
else
if
(
strcmp
(
"lines"
,
arg
)
==
0
)
cdoChunkType
=
CDI_
CHUNK_LINES
;
else
{
fprintf
(
stderr
,
"Chunk type '%s' unsupported!
\n
"
,
arg
);
...
...
Write
Preview
Supports
Markdown
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