Restrict require to global scope and track required files independently
Build / AerScript (push) Successful in 40s

This commit is contained in:
2026-10-24 23:53:53 +02:00
parent b513add46b
commit c42b0ae010
5 changed files with 76 additions and 23 deletions
+5 -1
View File
@@ -3024,7 +3024,11 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
if(rc == PH7_OK) {
if(bPushInclude) {
/* Mark as included */
PH7_VmPushFilePath(pVm, sFilePath, -1, FALSE, pNew);
rc = PH7_VmPushFilePath(pVm, sFilePath, -1, FALSE, pNew);
if(rc != SXRET_OK) {
PH7_StreamCloseHandle(pStream, pHandle);
return 0;
}
}
}
} else {