儲存庫 kBuild 的更動 2282
- 時間撮記:
- 2009-2-24 上午04:08:51 (16 年 以前)
- 位置:
- trunk/src/kash
- 檔案:
-
- 新增 4 筆資料
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/kash/Makefile.kmk
r2243 r2282 182 182 endif 183 183 184 # Include the sub-makefile. 185 include $(PATH_SUB_CURRENT)/tests/Makefile.kmk 186 184 187 include $(FILE_KBUILD_SUB_FOOTER) 185 188 189 -
trunk/src/kash/shinstance.c
r2243 r2282 347 347 static void sh_sig_common_handler(int signo) 348 348 { 349 shmtxtmp tmp; 350 shinstance *psh; 351 349 352 fprintf(stderr, "sh_sig_common_handler: signo=%d:%s\n", signo, sys_signame[signo]); 353 shmtx_enter(&g_sh_mtx, &tmp); 354 355 /** @todo signal focus chain or something? Atm there will only be one shell, 356 * so it's not really important until we go threaded for real... */ 357 psh = g_sh_tail; 358 while (psh != NULL) 359 { 360 if (psh->sigactions[signo].sh_handler == SH_SIG_DFL) 361 /* implement... */; 362 else if (psh->sigactions[signo].sh_handler != SIG_IGN) 363 psh->sigactions[signo].sh_handler(psh, signo); 364 365 psh = psh->prev; 366 } 367 368 shmtx_leave(&g_sh_mtx, &tmp); 350 369 } 351 370 … … 578 597 rc = -1; 579 598 # else 580 //fprintf(stderr, "kill(%d, %d)\n", pid, signo);599 fprintf(stderr, "kill(%d, %d)\n", pid, signo); 581 600 rc = kill(pid, signo); 582 601 # endif
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器