Changeset 1258 in kBuild for trunk/src/kmk/main.c
- Timestamp:
- Oct 27, 2007 5:20:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/main.c
r1186 r1258 1717 1717 * at the wrong place when it was first evaluated. 1718 1718 */ 1719 #ifdef KMK /* this is really a candidate for all platforms... */ 1720 { 1721 extern char *default_shell; 1722 char *bin = get_path_kbuild_bin(); 1723 size_t len = strlen (bin); 1724 default_shell = xmalloc (len + sizeof("/kmk_ash.exe")); 1725 memcpy (default_shell, bin, len); 1726 strcpy (default_shell + len, "/kmk_ash.exe"); 1727 no_default_sh_exe = 0; 1728 batch_mode_shell = 1; 1729 } 1730 #else /* !KMK */ 1719 1731 no_default_sh_exe = !find_and_set_default_shell(NULL); 1720 1732 #endif /* !KMK */ 1721 1733 #endif /* WINDOWS32 */ 1722 1734 /* Figure out the level of recursion. */
Note:
See TracChangeset
for help on using the changeset viewer.