Do not use pointer for file path.
All checks were successful
The build was successful.

This commit is contained in:
2019-06-25 20:10:27 +02:00
parent 647454b98d
commit 0a2f1133d5

View File

@@ -2971,7 +2971,7 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
int iFlags, int use_include, ph7_value *pResource, int bPushInclude, int *pNew) {
void *pHandle = 0; /* cc warning */
SyString sFile;
char *sFilePath[PATH_MAX + 1];
char sFilePath[PATH_MAX + 1];
int rc;
if(pStream == 0) {
/* No such stream device */