Dozens of hours of debugging, yet only 1 character of changed code. 😩

This commit is contained in:
Thulinma 2024-06-19 16:50:11 +02:00
parent cf475a7c07
commit 5c8e91b07b

View file

@ -330,7 +330,7 @@ namespace IPC{
}
return;
}
if (handle > 0 && handle < 3){
if (handle >= 0 && handle < 3){
int tmpHandle = fcntl(handle, F_DUPFD, 3);
if (tmpHandle >= 3){
DONTEVEN_MSG("Remapped handle for page %s from %d to %d!", name.c_str(), handle, tmpHandle);