aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2024-08-17 22:03:55 +0800
committerPo Lu2024-08-17 22:04:01 +0800
commit5397808e5bc314ca7ff6a707c153e59cf141008b (patch)
treeeec72a9af0e32519a41e86f52f8f4ec03cfbbed9 /src
parent1463434907eeccd077f5d3c00309d1e75c7d63f4 (diff)
downloademacs-5397808e5bc314ca7ff6a707c153e59cf141008b.tar.gz
emacs-5397808e5bc314ca7ff6a707c153e59cf141008b.zip
; Eliminate more C++ comments
* lib-src/movemail.c: * nt/preprep.c (main): * src/unexw32.c (unexec): Convert C++-style comments to C.
Diffstat (limited to 'src')
-rw-r--r--src/unexw32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index d8329be522d..f0a910781cc 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -660,14 +660,14 @@ unexec (const char *new_name, const char *old_name)
660 nt_header = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew); 660 nt_header = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew);
661 661
662 nt_header->OptionalHeader.CheckSum = 0; 662 nt_header->OptionalHeader.CheckSum = 0;
663// nt_header->FileHeader.TimeDateStamp = time (NULL); 663 /* nt_header->FileHeader.TimeDateStamp = time (NULL); */
664// dos_header->e_cp = size / 512; 664 /* dos_header->e_cp = size / 512; */
665// nt_header->OptionalHeader.SizeOfImage = size; 665 /* nt_header->OptionalHeader.SizeOfImage = size; */
666 666
667 pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile"); 667 pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
668 if (pfnCheckSumMappedFile) 668 if (pfnCheckSumMappedFile)
669 { 669 {
670// nt_header->FileHeader.TimeDateStamp = time (NULL); 670 /* nt_header->FileHeader.TimeDateStamp = time (NULL); */
671 pfnCheckSumMappedFile (out_file.file_base, 671 pfnCheckSumMappedFile (out_file.file_base,
672 out_file.size, 672 out_file.size,
673 &headersum, 673 &headersum,