summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2024-08-17 22:03:55 +0800
committerPo Lu <luangruo@yahoo.com>2024-08-17 22:04:01 +0800
commit5397808e5bc314ca7ff6a707c153e59cf141008b (patch)
treeeec72a9af0e32519a41e86f52f8f4ec03cfbbed9
parent1463434907eeccd077f5d3c00309d1e75c7d63f4 (diff)
; Eliminate more C++ comments
* lib-src/movemail.c: * nt/preprep.c (main): * src/unexw32.c (unexec): Convert C++-style comments to C.
-rw-r--r--lib-src/movemail.c2
-rw-r--r--nt/preprep.c8
-rw-r--r--src/unexw32.c8
3 files changed, 9 insertions, 9 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index 407f95e4541..49c4bcf72db 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -97,7 +97,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
[18-Feb-97 andrewi] I now believe my comment above to be incorrect,
since it was based on a misunderstanding of how locking calls are
implemented and used on Unix. */
-//#define DISABLE_DIRECT_ACCESS
+/* #define DISABLE_DIRECT_ACCESS */
#include <fcntl.h>
#endif /* WINDOWSNT */
diff --git a/nt/preprep.c b/nt/preprep.c
index d1c4f2136cc..4b6fc8112bb 100644
--- a/nt/preprep.c
+++ b/nt/preprep.c
@@ -804,14 +804,14 @@ main (int argc, char **argv)
nt_header = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew);
nt_header->OptionalHeader.CheckSum = 0;
-// nt_header->FileHeader.TimeDateStamp = time (NULL);
-// dos_header->e_cp = size / 512;
-// nt_header->OptionalHeader.SizeOfImage = size;
+ /* nt_header->FileHeader.TimeDateStamp = time (NULL); */
+ /* dos_header->e_cp = size / 512; */
+ /* nt_header->OptionalHeader.SizeOfImage = size; */
pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
if (pfnCheckSumMappedFile)
{
-// nt_header->FileHeader.TimeDateStamp = time (NULL);
+ /* nt_header->FileHeader.TimeDateStamp = time (NULL); */
pfnCheckSumMappedFile (out_file.file_base,
out_file.size,
&headersum,
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)
nt_header = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew);
nt_header->OptionalHeader.CheckSum = 0;
-// nt_header->FileHeader.TimeDateStamp = time (NULL);
-// dos_header->e_cp = size / 512;
-// nt_header->OptionalHeader.SizeOfImage = size;
+ /* nt_header->FileHeader.TimeDateStamp = time (NULL); */
+ /* dos_header->e_cp = size / 512; */
+ /* nt_header->OptionalHeader.SizeOfImage = size; */
pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
if (pfnCheckSumMappedFile)
{
-// nt_header->FileHeader.TimeDateStamp = time (NULL);
+ /* nt_header->FileHeader.TimeDateStamp = time (NULL); */
pfnCheckSumMappedFile (out_file.file_base,
out_file.size,
&headersum,