- Timestamp:
- Aug 11, 2005, 10:13:33 PM (20 years ago)
- Location:
- trunk/src/gmake
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/function.c
r287 r303 29 29 #include "amiga.h" 30 30 #endif 31 32 #ifdef WINDOWS32 33 #include "pathstuff.h" 34 #endif 31 35 32 36 … … 1776 1780 return NULL; 1777 1781 1782 #ifdef WINDOWS32 1783 dest = w32ify((char *)name, 1); 1784 if (!dest) 1785 return NULL; 1786 (void)end; (void)start; (void)apath_limit; 1787 return strcpy(apath, dest); 1788 1789 #elif defined __OS2__ 1790 if (!_fullpath(apath, name, GET_PATH_MAX)) 1791 return NULL; 1792 (void)end; (void)start; (void)apath_limit; (void)dest; 1793 return apath; 1794 1795 #else /* !WINDOWS32 && !__OS2__ */ 1778 1796 apath_limit = apath + GET_PATH_MAX; 1779 1797 1798 #ifdef HAVE_DOS_PATHS /* bird added this */ 1799 if (isalpha(name[0]) && name[1] == ':') 1800 { 1801 /* drive spec */ 1802 apath[0] = toupper(name[0]); 1803 apath[1] = ':'; 1804 apath[2] = '/'; 1805 name += 2; 1806 } 1807 else 1808 #endif /* HAVE_DOS_PATHS */ 1780 1809 if (name[0] != '/') 1781 1810 { … … 1839 1868 1840 1869 return apath; 1870 #endif /* !WINDOWS32 */ 1841 1871 } 1842 1872 -
trunk/src/gmake/variable.c
r287 r303 679 679 /* Define KMK_VERSION to indicate kMk. */ 680 680 (void) define_variable ("KMK_VERSION", 11, buf, o_default, 0); 681 682 /* Define KMK_FEATURES to indicate various working KMK features. */ 683 (void) define_variable ("KMK_FEATURES", 12, "abspath", o_default, 0); 681 684 682 685 #ifdef CONFIG_WITH_KMK_BUILTIN
Note:
See TracChangeset
for help on using the changeset viewer.