Mercurial > hg > xemacs-beta
comparison src/unexnt.c @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | 023b83f4e54b |
children | f846c2ef930d |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
59 #include "lisp.h" | 59 #include "lisp.h" |
60 | 60 |
61 #include "sysfile.h" | 61 #include "sysfile.h" |
62 #include "syswindows.h" | 62 #include "syswindows.h" |
63 | 63 |
64 #include "nt.h" | |
65 #include "ntheap.h" | |
66 | |
67 /* From IMAGEHLP.H which is not installed by default by MSVC < 5 */ | 64 /* From IMAGEHLP.H which is not installed by default by MSVC < 5 */ |
68 /* The IMAGEHLP.DLL library is not distributed by default with Windows95 */ | 65 /* The IMAGEHLP.DLL library is not distributed by default with Windows95 */ |
69 typedef PIMAGE_NT_HEADERS | 66 typedef PIMAGE_NT_HEADERS |
70 (__stdcall * pfnCheckSumMappedFile_t) (LPVOID BaseAddress, DWORD FileLength, | 67 (__stdcall * pfnCheckSumMappedFile_t) (LPVOID BaseAddress, DWORD FileLength, |
71 LPDWORD HeaderSum, LPDWORD CheckSum); | 68 LPDWORD HeaderSum, LPDWORD CheckSum); |
448 | 445 |
449 size = data_size; | 446 size = data_size; |
450 DUMP_MSG (("Dumping data section...\n")); | 447 DUMP_MSG (("Dumping data section...\n")); |
451 DUMP_MSG (("\t0x%08x Address in process.\n", data_va)); | 448 DUMP_MSG (("\t0x%08x Address in process.\n", data_va)); |
452 DUMP_MSG (("\t0x%08x Offset in output file.\n", | 449 DUMP_MSG (("\t0x%08x Offset in output file.\n", |
453 (char*)data_file - p_outfile->file_base)); | 450 (char*) data_file - (char *) p_outfile->file_base)); |
454 DUMP_MSG (("\t0x%08x Size in bytes.\n", size)); | 451 DUMP_MSG (("\t0x%08x Size in bytes.\n", size)); |
455 memcpy (data_file, data_va, size); | 452 memcpy (data_file, data_va, size); |
456 | 453 |
457 index = (DWORD) data_file + size - (DWORD) p_outfile->file_base; | 454 index = (DWORD) data_file + size - (DWORD) p_outfile->file_base; |
458 size = p_infile->size - index; | 455 size = p_infile->size - index; |