Changeset 2636 in kBuild
- Timestamp:
- Sep 9, 2012 12:57:51 AM (13 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/Makefile.kmk
r2548 r2636 131 131 w32/subproc/w32err.c \ 132 132 w32/compat/dirent.c \ 133 w32/pathstuff.c 133 w32/pathstuff.c \ 134 w32/imagecache.c 134 135 135 136 # -
trunk/src/kmk/w32/subproc/sub_proc.c
r2591 r2636 35 35 static char *make_command_line(char *shell_name, char *exec_path, char **argv); 36 36 extern char *xmalloc (unsigned int); 37 #ifdef KMK 38 extern void kmk_cache_exec_image(const char *); /* imagecache.c */ 39 #endif 37 40 38 41 typedef struct sub_process_t { … … 455 458 456 459 #ifdef KMK 457 /* kmk performa ce: Don't bother looking for shell scripts in .exe files. */460 /* kmk performance: Don't bother looking for shell scripts in .exe files. */ 458 461 exec_path_len = strlen(exec_path); 459 462 if (exec_path_len > 4 … … 461 464 && !stricmp(exec_path + exec_path_len - 3, "exe")) { 462 465 exec_handle = INVALID_HANDLE_VALUE; 466 exec_fname[0] = '\0'; 463 467 } 464 468 else { … … 600 604 exec_path ? exec_path : "NULL", 601 605 command_line ? command_line : "NULL")); 606 #ifdef KMK 607 if (exec_fname[0]) 608 kmk_cache_exec_image(exec_fname); 609 else if (exec_path) 610 kmk_cache_exec_image(exec_path); 611 else if (argv[0]) 612 kmk_cache_exec_image(argv[0]); 613 #endif 602 614 if (CreateProcess( 603 615 exec_path,
Note:
See TracChangeset
for help on using the changeset viewer.