Browse Source

Fix for #2, taken from 063a5cffb7 (file_magic branch). Thanks to BigDave.

pull/21/head
Rafal Kupiec 4 years ago
parent
commit
90e2bc676f
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
  1. 4
      engine/vfs.c

4
engine/vfs.c

@ -2905,10 +2905,6 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
/* Try to open the file */
rc = pStream->xOpen((const char *)SyBlobData(&sWorker), iFlags, pResource, &pHandle);
if(rc == PH7_OK) {
if(bPushInclude) {
/* Mark as included */
PH7_VmPushFilePath(pVm, (const char *)SyBlobData(&sWorker), FALSE, pNew);
}
break;
}
/* Reset the working buffer */

Loading…
Cancel
Save