* master:
Revert "specialized-arrays: removing unnecessary >pprint-sequence"
calendar: change the behavior of 1 months time+
documents: fix tests for each-doc-line rename
specialized-arrays: removing unnecessary >pprint-sequence
uuid: adding uuid-urn word
io.directories.unix: switch to readdir(3) since readdir_r(3) is deprecated
ui.tools: setting current directory to "resource:"
vm: os-macosx.mm don't changeCurrentDirectoryPath
if (h.version != image_version)
fatal_error("Bad image: version number check failed", h.version);
+ if (!h.version4_escape) h.data_size=h.escaped_data_size, h.escaped_data_size=0;
+
load_data_heap(file, &h, p);
load_code_heap(file, &h, p);
cell version;
// base address of data heap when image was saved
cell data_relocation_base;
- // size of heap
- cell data_size;
+ // size of data heap
+ union { cell data_size; cell version4_escape; };
// base address of code heap when image was saved
cell code_relocation_base;
// size of code heap
cell code_size;
- cell reserved_1;
+ union { cell reserved_1; cell escaped_data_size; };
cell reserved_2;
cell reserved_3;
cell reserved_4;