Changeset 1819 in kBuild for trunk/src/kmk
- Timestamp:
- Oct 10, 2008 5:59:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/expand.c
r1809 r1819 1031 1031 char *obuf = variable_buffer; 1032 1032 unsigned int olen = variable_buffer_length; 1033 long len = length == ~0U ? -1L : (long)length; 1033 1034 1034 1035 variable_buffer = 0; 1035 1036 1036 1037 if (!value_len) 1037 value = variable_expand_string (NULL, line, len gth != ~0U ? length : -1);1038 value = variable_expand_string (NULL, line, len); 1038 1039 else 1039 1040 { 1040 1041 char *eol; 1041 value = variable_expand_string_2 (NULL, line, 1042 length != ~0U ? length : -1, &eol); 1042 value = variable_expand_string_2 (NULL, line, len, &eol); 1043 1043 *value_len = eol - value; 1044 1044 }
Note:
See TracChangeset
for help on using the changeset viewer.