Changeset 1997 for trunk/src/kmk/function.c
- Timestamp:
- Oct 29, 2008, 10:31:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r1993 r1997 1040 1040 free (result); 1041 1041 #else /* CONFIG_WITH_VALUE_LENGTH */ 1042 if (len >= (unsigned int)var->value_alloc_len)1042 if (len >= var->value_alloc_len) 1043 1043 { 1044 1044 # ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE … … 1048 1048 # endif 1049 1049 free (var->value); 1050 var->value_alloc_len = (len + 32) & ~31;1050 var->value_alloc_len = VAR_ALIGN_VALUE_ALLOC (len + 1); 1051 1051 var->value = xmalloc (var->value_alloc_len); 1052 1052 }
Note:
See TracChangeset
for help on using the changeset viewer.