diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-06-05 15:53:16 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-06-05 15:53:16 +0000 |
commit | d0325cfec54e1adfd10b76ecf7a401eb5c9ea55b (patch) | |
tree | e1cdca57af83d81aa507f9456e1a85f09a308376 /ProcessList.c | |
parent | 8bc180b7d1089ca7fecf3420367b29f4c21125ad (diff) |
Disable old hack that's interfering with real debugging.
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ProcessList.c b/ProcessList.c index 9f8d3c31..35ed3845 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -650,10 +650,7 @@ void ProcessList_scan(ProcessList* this) { this->totalTasks = 0; this->runningTasks = 0; - signal(11, ProcessList_dontCrash); - ProcessList_processEntries(this, PROCDIR, 0, period); - signal(11, SIG_DFL); for (int i = Vector_size(this->processes) - 1; i >= 0; i--) { Process* p = (Process*) Vector_get(this->processes, i); @@ -664,9 +661,3 @@ void ProcessList_scan(ProcessList* this) { } } - -void ProcessList_dontCrash(int signal) { - // This ugly hack was added because I suspect some - // crashes were caused by contents of /proc vanishing - // away while we read them. -} |