- Timestamp:
- May 12, 2008 5:07:26 PM (17 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/expand.c
r1610 r1617 616 616 /* fast path */ 617 617 append_string_to_variable (v,value, value_len, append); 618 else 618 else if (value_len) 619 619 { 620 620 unsigned int off_dollar = p - (char *)value; … … 662 662 restore_variable_buffer (saved_buffer, saved_buffer_length); 663 663 } 664 /* else: Drop empty strings. Use $(NO_SUCH_VARIABLE) if a space is wanted. */ 664 665 } 665 666 #endif /* CONFIG_WITH_VALUE_LENGTH */ -
trunk/src/kmk/variable.c
r1610 r1617 1601 1601 int done_1st_prepend_copy = 0; 1602 1602 1603 /* Drop empty strings. Use $(NO_SUCH_VARIABLE) if a space is wanted. */ 1604 if (!value_len) 1605 return; 1606 1603 1607 /* adjust the size. */ 1604 1608 if ((unsigned)v->value_alloc_len <= new_value_len + 1)
Note:
See TracChangeset
for help on using the changeset viewer.