clisp/clisp-2.39-dump.dif

15 lines
445 B
Plaintext

--- src/spvw_memfile.d
+++ src/spvw_memfile.d 2006-07-25 12:16:42.342971403 +0000
@@ -969,7 +969,10 @@
} \
} while(0)
begin_read:
- set_file_offset(0);
+ if (mem_searched)
+ set_file_offset(mem_start);
+ else
+ set_file_offset(0);
/* read basic information: */
READ(&header,sizeof(header));
if (header._magic != memdump_magic) {