소스 검색

* Fixed a check_trace() thing

svn: 2390
Bryan Drewery 21 년 전
부모
커밋
e0acb951eb
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      src/main.c
  2. 0 1
      src/shell.c

+ 4 - 1
src/main.c

@@ -401,8 +401,11 @@ void core_10secondly()
 
   curcheck++;
 
+  //FIXME: This is disabled because it sucks.
+#ifdef no
   if (curcheck == 1)
     check_trace(0);
+#endif
 
   if (conf.bot->hub || conf.bot->localhub) {
     check_promisc();
@@ -508,7 +511,7 @@ static int washub = -1;
 static void core_minutely()
 {
   //eat some zombies!
-  waitpid(-1, NULL, WNOHANG);
+//  waitpid(-1, NULL, WNOHANG);
 
   if (!conf.bot->hub) {
     if (washub == -1)

+ 0 - 1
src/shell.c

@@ -354,7 +354,6 @@ static void got_sigtrap(int z)
 
 void check_trace(int start)
 {
-
   if (trace == DET_IGNORE || trace == DET_WARN)
     trace = DET_DIE;
 //    return;