Commit 59449701 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamOpenA, streamOpen: parameter recordBufIsToBeCreated missing in call to...

streamOpenA, streamOpen: parameter recordBufIsToBeCreated missing in call to cdiStreamOpenDefaultDelegate() (bug fix)
parent e25ebf91
2014-01-03 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* streamOpenA, streamOpen: parameter recordBufIsToBeCreated missing in call to cdiStreamOpenDefaultDelegate() (bug fix)
2013-12-09 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* streamOpenA: removed line "streamptr->record = record"; record is allocated in cdiStreamOpenDefaultDelegate() (bug fix)
......
......@@ -747,11 +747,11 @@ int streamOpen(const char *filename, const char *filemode, int filetype)
{
int (*streamOpenDelegate)(const char *filename, const char *filemode,
int filetype, stream_t *streamptr)
= (int (*)(const char *, const char *, int, stream_t *))
int filetype, stream_t *streamptr, int recordBufIsToBeCreated)
= (int (*)(const char *, const char *, int, stream_t *, int))
namespaceSwitchGet(NSSWITCH_STREAM_OPEN_BACKEND).func;
fileID = streamOpenDelegate(filename, filemode, filetype, streamptr);
fileID = streamOpenDelegate(filename, filemode, filetype, streamptr, 1);
}
if (fileID < 0)
......@@ -807,11 +807,11 @@ static int streamOpenA(const char *filename, const char *filemode, int filetype)
{
int (*streamOpenDelegate)(const char *filename, const char *filemode,
int filetype, stream_t *streamptr)
= (int (*)(const char *, const char *, int, stream_t *))
int filetype, stream_t *streamptr, int recordBufIsToBeCreated)
= (int (*)(const char *, const char *, int, stream_t *, int))
namespaceSwitchGet(NSSWITCH_STREAM_OPEN_BACKEND).func;
fileID = streamOpenDelegate(filename, "r", filetype, streamptr);
fileID = streamOpenDelegate(filename, "r", filetype, streamptr, 1);
}
if ( fileID == CDI_UNDEFID || fileID == CDI_ELIBNAVAIL || fileID == CDI_ESYSTEM ) return (fileID);
......
Markdown is supported
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