From 3288d108f47db3bf90e95b69be1a510f97edb35e Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sun, 2 May 1999 09:31:32 +0000 Subject: [PATCH] (main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize. --- lib-src/movemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 4e8478ee0a5..85a28615e42 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -503,7 +503,7 @@ main (argc, argv) #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)); -- 2.39.2