(main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize.

This commit is contained in:
Andrew Innes 1999-05-02 09:31:32 +00:00
parent 4e0a3e2723
commit 3288d108f4

View file

@ -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));