Nice job, making umoddi3 call umoddi3 in the usermode stuff :(
[tpg/acess2.git] / Kernel / binary.c
index 9455a62..193ff14 100644 (file)
@@ -142,6 +142,7 @@ int Proc_Execve(char *File, char **ArgV, char **EnvP)
                strcpy(envpSaved[i], EnvP[i]);
                strBuf += strlen(EnvP[i])+1;
        }
+       envpSaved[i] = NULL;
        
        savedFile = malloc(strlen(File)+1);
        strcpy(savedFile, File);
@@ -341,7 +342,7 @@ Uint Binary_MapIn(tBinary *binary)
                
        }
        
-       //Log("Mapped '%s' to 0x%x", binary->TruePath, base);
+       Log_Debug("Binary", "PID %i - Mapped '%s' to 0x%x", Threads_GetPID(), binary->TruePath, base);
        
        //LOG("*0x%x = 0x%x\n", binary->Pages[0].Virtual, *(Uint*)binary->Pages[0].Virtual);
        

UCC git Repository :: git.ucc.asn.au