# HG changeset patch # User Henry Thompson # Date 1638455685 0 # Node ID 9e308c7501d10d060df6c7a5fb234e09391f6e20 # Parent 574f0cded429a4d5387e225af49cbee9476a3d78 6 years later, not sure about movemail diff -r 574f0cded429 -r 9e308c7501d1 lib-src/movemail.c --- a/lib-src/movemail.c Sun Dec 13 13:22:58 2015 +0000 +++ b/lib-src/movemail.c Thu Dec 02 14:34:45 2021 +0000 @@ -458,7 +458,7 @@ case FLOCKING: case LOCKING: #ifdef HAVE_FTRUNCATE - ftruncate (indesc, E0); + ftruncate (indesc, 0L); #else close (open (inname, O_CREAT | O_TRUNC | O_RDWR, 0666)); #endif diff -r 574f0cded429 -r 9e308c7501d1 notes.txt --- a/notes.txt Sun Dec 13 13:22:58 2015 +0000 +++ b/notes.txt Thu Dec 02 14:34:45 2021 +0000 @@ -365,3 +365,10 @@ Defined macros for (EMACS_INT)1 and (EMACS_UINT)1 to replace 1L and 1UL E1 UE1 + +Backed out of a few lib-src files which aren't compiled under VS +anyway + +Passed smoketest for compilation with 64-bit gcc/cygwin + +Paths are right for cygwin 64bit build, not for VS 64bit :-(