Mercurial > hg > xemacs-beta
changeset 5937:9e308c7501d1 cygwin
6 years later, not sure about movemail
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Thu, 02 Dec 2021 14:34:45 +0000 |
parents | 574f0cded429 |
children | 699264ac20f1 |
files | lib-src/movemail.c notes.txt |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 :-(