Skip to content
Snippets Groups Projects
Commit 6fb63c89 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

stream::streamOpenA(): added printf statement as workaround to solve a problem with cdo cat

parent 643bf5a3
No related branches found
No related tags found
No related merge requests found
......@@ -801,6 +801,7 @@ static int streamOpenA(const char *filename, const char *filemode, int filetype)
if ( CDI_Debug )
Message("Open %s file (mode=%c); filename: %s", strfiletype(filetype), (int) *filemode, filename);
if ( CDI_Debug ) printf("streamOpenA: %s\n", filename); // seg fault without this line on thunder/squall with "cdo cat x y"
if ( ! filename || ! filemode || filetype < 0 ) return (CDI_EINVAL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment