Changeset 530 for trunk/src/gmake/expand.c
- Timestamp:
- Sep 17, 2006, 10:38:57 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/expand.c
r527 r530 522 522 /* Either expand it or copy it, depending. */ 523 523 if (! v->recursive) 524 #ifdef CONFIG_WITH_VALUE_LENGTH 525 return variable_buffer_output (buf, v->value, 526 v->value_length >= 0 ? v->value_length : strlen (v->value)); 527 #else 524 528 return variable_buffer_output (buf, v->value, strlen (v->value)); 525 529 #endif 530 531 #ifdef CONFIG_WITH_VALUE_LENGTH 532 buf = variable_expand_string (buf, v->value, v->value_length >= 0 ? v->value_length : strlen (v->value)); 533 #else 526 534 buf = variable_expand_string (buf, v->value, strlen (v->value)); 535 #endif 527 536 return (buf + strlen (buf)); 528 537 }
Note:
See TracChangeset
for help on using the changeset viewer.