changeset 24656:a2148e59e0eb

(main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize.
author Andrew Innes <andrewi@gnu.org>
date Sun, 02 May 1999 09:31:32 +0000
parents 39ca035fb9f5
children 5b211965b2b9
files lib-src/movemail.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/movemail.c	Sat May 01 01:11:12 1999 +0000
+++ b/lib-src/movemail.c	Sun May 02 09:31:32 1999 +0000
@@ -503,7 +503,7 @@
 #ifdef MAIL_USE_SYSTEM_LOCK
       if (! preserve_mail)
 	{
-#if defined (STRIDE) || defined (XENIX) || defined (WINDOWSNT)
+#if defined (STRIDE) || defined (XENIX)
 	  /* Stride, xenix have file locking, but no ftruncate.
 	     This mess will do. */
 	  close (open (inname, O_CREAT | O_TRUNC | O_RDWR, 0666));