; Eliminate more C++ comments
* lib-src/movemail.c: * nt/preprep.c (main): * src/unexw32.c (unexec): Convert C++-style comments to C.
This commit is contained in:
parent
1463434907
commit
5397808e5b
3 changed files with 9 additions and 9 deletions
|
@ -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,
|
[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
|
since it was based on a misunderstanding of how locking calls are
|
||||||
implemented and used on Unix. */
|
implemented and used on Unix. */
|
||||||
//#define DISABLE_DIRECT_ACCESS
|
/* #define DISABLE_DIRECT_ACCESS */
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif /* WINDOWSNT */
|
#endif /* WINDOWSNT */
|
||||||
|
|
|
@ -804,14 +804,14 @@ main (int argc, char **argv)
|
||||||
nt_header = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew);
|
nt_header = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew);
|
||||||
|
|
||||||
nt_header->OptionalHeader.CheckSum = 0;
|
nt_header->OptionalHeader.CheckSum = 0;
|
||||||
// nt_header->FileHeader.TimeDateStamp = time (NULL);
|
/* nt_header->FileHeader.TimeDateStamp = time (NULL); */
|
||||||
// dos_header->e_cp = size / 512;
|
/* dos_header->e_cp = size / 512; */
|
||||||
// nt_header->OptionalHeader.SizeOfImage = size;
|
/* nt_header->OptionalHeader.SizeOfImage = size; */
|
||||||
|
|
||||||
pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
|
pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
|
||||||
if (pfnCheckSumMappedFile)
|
if (pfnCheckSumMappedFile)
|
||||||
{
|
{
|
||||||
// nt_header->FileHeader.TimeDateStamp = time (NULL);
|
/* nt_header->FileHeader.TimeDateStamp = time (NULL); */
|
||||||
pfnCheckSumMappedFile (out_file.file_base,
|
pfnCheckSumMappedFile (out_file.file_base,
|
||||||
out_file.size,
|
out_file.size,
|
||||||
&headersum,
|
&headersum,
|
||||||
|
|
|
@ -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 = (PIMAGE_NT_HEADERS) ((char *) dos_header + dos_header->e_lfanew);
|
||||||
|
|
||||||
nt_header->OptionalHeader.CheckSum = 0;
|
nt_header->OptionalHeader.CheckSum = 0;
|
||||||
// nt_header->FileHeader.TimeDateStamp = time (NULL);
|
/* nt_header->FileHeader.TimeDateStamp = time (NULL); */
|
||||||
// dos_header->e_cp = size / 512;
|
/* dos_header->e_cp = size / 512; */
|
||||||
// nt_header->OptionalHeader.SizeOfImage = size;
|
/* nt_header->OptionalHeader.SizeOfImage = size; */
|
||||||
|
|
||||||
pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
|
pfnCheckSumMappedFile = (void *) GetProcAddress (hImagehelp, "CheckSumMappedFile");
|
||||||
if (pfnCheckSumMappedFile)
|
if (pfnCheckSumMappedFile)
|
||||||
{
|
{
|
||||||
// nt_header->FileHeader.TimeDateStamp = time (NULL);
|
/* nt_header->FileHeader.TimeDateStamp = time (NULL); */
|
||||||
pfnCheckSumMappedFile (out_file.file_base,
|
pfnCheckSumMappedFile (out_file.file_base,
|
||||||
out_file.size,
|
out_file.size,
|
||||||
&headersum,
|
&headersum,
|
||||||
|
|
Loading…
Add table
Reference in a new issue