mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +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);
|
||||
|
||||
if(extend) {
|
||||
new_file->end = offset;
|
||||
if(extend) {
|
||||
#if COFFEE_CONF_EOF_HINT
|
||||
refresh_eof_hint(new_file);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user