Changeset 1844 in kBuild for trunk/src/kmk
- Timestamp:
- Oct 12, 2008 3:43:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/strcache.c
r1843 r1844 116 116 memcpy (tmp, str, str_len); 117 117 tmp += str_len; 118 do 119 *(tmp++) = '\0'; 120 while (tmp < best->end); 118 *(tmp++) = '\0'; 121 119 122 120 best->bytesfree -= len + 1; 123 121 ++best->count; 124 122 125 assert (tmp == best->end);123 assert (tmp <= best->end); 126 124 assert (!((size_t)res & (sizeof(void *) - 1))); 127 125 #endif /* CONFIG_WITH_VALUE_LENGTH */
Note:
See TracChangeset
for help on using the changeset viewer.