Changeset 520 for trunk/src/gmake/function.c
- Timestamp:
- Sep 16, 2006, 6:56:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/function.c
r503 r520 29 29 #endif 30 30 31 #ifdef WINDOWS32 32 # include "pathstuff.h"31 #ifdef WINDOWS32 /* bird */ 32 # include "pathstuff.h" 33 33 #endif 34 34 … … 1665 1665 CLOSE_ON_EXEC(pipedes[0]); 1666 1666 /* Never use fork()/exec() here! Use spawn() instead in exec_command() */ 1667 pid = child_execute_job (0, pipedes[1], command_argv, envp , NULL);1667 pid = child_execute_job (0, pipedes[1], command_argv, envp); 1668 1668 if (pid < 0) 1669 1669 perror_with_name (error_prefix, "spawn"); … … 1900 1900 return NULL; 1901 1901 1902 #ifdef WINDOWS32 1902 #ifdef WINDOWS32 /* bird */ 1903 1903 dest = w32ify((char *)name, 1); 1904 1904 if (!dest) 1905 1905 return NULL; 1906 1906 { 1907 1907 size_t len = strlen(dest); … … 1912 1912 (void)end; (void)start; (void)apath_limit; 1913 1913 1914 #elif defined __OS2__ 1914 #elif defined __OS2__ /* bird */ 1915 1915 if (_abspath(apath, name, GET_PATH_MAX)) 1916 1916 return NULL; 1917 1917 dest = strchr(apath, '\0'); 1918 1918 … … 1989 1989 1990 1990 /* Unless it is root strip trailing separator. */ 1991 #ifdef HAVE_DOS_PATHS 1991 #ifdef HAVE_DOS_PATHS /* bird (is this correct? what about UNC?) */ 1992 1992 if (dest > apath + 1 + (apath[0] != '/') && dest[-1] == '/') 1993 1993 #else … … 2077 2077 } 2078 2078 2079 #ifdef KMK2079 #ifdef CONFIG_WITH_TOUPPER_TOLOWER 2080 2080 static char * 2081 2081 func_toupper_tolower (char *o, char **argv, const char *funcname) … … 2099 2099 return o; 2100 2100 } 2101 #endif 2101 #endif /* CONFIG_WITH_TOUPPER_TOLOWER */ 2102 2102 2103 2103 /* Lookup table for builtin functions. … … 2158 2158 { STRING_SIZE_TUPLE("not"), 0, 1, 1, func_not}, 2159 2159 #endif 2160 #ifdef KMK2160 #ifdef CONFIG_WITH_TOUPPER_TOLOWER 2161 2161 { STRING_SIZE_TUPLE("toupper"), 0, 1, 1, func_toupper_tolower}, 2162 2162 { STRING_SIZE_TUPLE("tolower"), 0, 1, 1, func_toupper_tolower},
Note:
See TracChangeset
for help on using the changeset viewer.