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

This commit is contained in:
Rafal Kupiec 2018-07-23 15:46:01 +02:00
부모 38186c3fda
커밋 90e2bc676f
로그인 계정: belliash
GPG 키 ID: 4E829243E0CFE6B4

파일 보기

@ -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 */