Do not use pointer for file path.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
647454b98d
commit
0a2f1133d5
|
@ -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) {
|
int iFlags, int use_include, ph7_value *pResource, int bPushInclude, int *pNew) {
|
||||||
void *pHandle = 0; /* cc warning */
|
void *pHandle = 0; /* cc warning */
|
||||||
SyString sFile;
|
SyString sFile;
|
||||||
char *sFilePath[PATH_MAX + 1];
|
char sFilePath[PATH_MAX + 1];
|
||||||
int rc;
|
int rc;
|
||||||
if(pStream == 0) {
|
if(pStream == 0) {
|
||||||
/* No such stream device */
|
/* No such stream device */
|
||||||
|
|
Loading…
Reference in New Issue