儲存庫 kBuild 的更動 1751
- 時間撮記:
- 2008-9-6 上午02:58:38 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/kmk/file.c
r1701 r1751 678 678 be re-inserting (delete+insert) hash table entries so we have to use 679 679 hash_dump(). */ 680 file_slot_0 = (struct file **) hash_dump (&files, 0, 0); 681 file_end = file_slot_0 + files.ht_fill; 682 for (file_slot = file_slot_0; file_slot < file_end; file_slot++) 683 for (f = *file_slot; f != 0; f = f->prev) 684 if (f->need_2nd_target_expansion) 685 do_2nd_target_expansion (f); 686 free (file_slot_0); 687 688 /* Disable second target expansion now since we won't expand files 689 entered after this point. (saves CPU cycles in enter_file()). */ 690 second_target_expansion = 0; 680 if (second_target_expansion) 681 { 682 # ifdef KMK /* turn on warnings here. */ 683 int save = warn_undefined_variables_flag; 684 warn_undefined_variables_flag = 1; 685 # endif 686 687 file_slot_0 = (struct file **) hash_dump (&files, 0, 0); 688 file_end = file_slot_0 + files.ht_fill; 689 for (file_slot = file_slot_0; file_slot < file_end; file_slot++) 690 for (f = *file_slot; f != 0; f = f->prev) 691 if (f->need_2nd_target_expansion) 692 do_2nd_target_expansion (f); 693 free (file_slot_0); 694 695 # ifdef KMK 696 warn_undefined_variables_flag = save; 697 # endif 698 699 /* Disable second target expansion now since we won't expand files 700 entered after this point. (saves CPU cycles in enter_file()). */ 701 second_target_expansion = 0; 702 } 691 703 #endif /* CONFIG_WITH_2ND_TARGET_EXPANSION */ 692 704
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器