mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
merged files must always inherit the old file end.
This commit is contained in:
parent
04ccf215e4
commit
6a6bb53f2e
@ -783,8 +783,8 @@ merge_log(coffee_page_t file_page, int extend)
|
||||
hdr2.eof_hint = extend ? 0 : hdr.eof_hint;
|
||||
write_header(&hdr2, new_file->page);
|
||||
|
||||
new_file->end = offset;
|
||||
if(extend) {
|
||||
new_file->end = offset;
|
||||
#if COFFEE_CONF_EOF_HINT
|
||||
refresh_eof_hint(new_file);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user