From da87b6f0aac5f4554cef0ebfa617b224ee76ac09 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Wed, 19 Mar 2014 22:43:28 +0100 Subject: [PATCH] Fix troublesome debug assertions in kernel/process.cpp. --- kernel/process.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/process.cpp b/kernel/process.cpp index bde831e7..81d5a15f 100644 --- a/kernel/process.cpp +++ b/kernel/process.cpp @@ -712,12 +712,6 @@ Process* Process::Fork() clone->symbol_table_length = symbol_table_length; } - if ( pid == 1) - assert(dtable->Get(1)); - - if ( pid == 1) - assert(clone->dtable->Get(1)); - // If the proces creation failed, ask the process to commit suicide and // not become a zombie, as we don't wait for it to exit. It will clean // up all the above resources and delete itself.