- Timestamp:
- Oct 26, 2008 4:30:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/variable.c
r1946 r1949 421 421 && global_variable_set.table.ht_fill != last_var_count) 422 422 { 423 #ifndef CONFIG_WITH_VALUE_LENGTH 423 424 unsigned long max = EXPANSION_INCREMENT (strlen (var->value)); 425 #else 426 unsigned long max = EXPANSION_INCREMENT (var->value_length); 427 #endif 424 428 unsigned long len; 425 429 char *p; … … 454 458 } 455 459 *(p-1) = '\0'; 460 #ifdef CONFIG_WITH_VALUE_LENGTH 461 var->value_length = p - var->value - 1; 462 var->value_alloc_len = max; 463 #endif 456 464 457 465 /* Remember how many variables are in our current count. Since we never
Note:
See TracChangeset
for help on using the changeset viewer.