Changeset 2426 in kBuild
- Timestamp:
- Nov 15, 2010 1:03:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/read.c
r2401 r2426 2094 2094 char termin = *line == '(' ? ',' : *line; 2095 2095 #ifdef CONFIG_WITH_VALUE_LENGTH 2096 char * buf_pos;2096 char *s1_end, *s2_end; 2097 2097 #endif 2098 2098 … … 2147 2147 memcpy (s1, s2, l + 1); 2148 2148 #else 2149 s1 = variable_expand_string_2 (NULL, s1, l, &buf_pos); 2150 ++buf_pos; 2149 s1 = variable_expand_string_2 (NULL, s1, l, &s1_end); 2151 2150 #endif 2152 2151 … … 2199 2198 s2 = variable_expand (s2); 2200 2199 #else 2201 if ((size_t)buf_pos & 7) 2202 buf_pos = variable_buffer_output (buf_pos, "\0\0\0\0\0\0\0\0", 2203 8 - ((size_t)buf_pos & 7)); 2204 s2 = variable_expand_string_2 (buf_pos, s2, l, &buf_pos); 2200 s2 = variable_expand_string_2 (s1_end + 1, s2, l, &s2_end); 2201 if (s2 != s1_end + 1) 2202 s1 += s2 - s1_end - 1; /* the variable buffer was reallocated */ 2205 2203 #endif 2206 2204 #ifdef CONFIG_WITH_SET_CONDITIONALS
Note:
See TracChangeset
for help on using the changeset viewer.