(main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize.
This commit is contained in:
parent
4e0a3e2723
commit
3288d108f4
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue