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
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment