diff options
author | Andrew Innes <andrewi@gnu.org> | 1999-05-02 09:31:32 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 1999-05-02 09:31:32 +0000 |
commit | 3288d108f47db3bf90e95b69be1a510f97edb35e (patch) | |
tree | 3fe7818a680853fbf8030fa946d1d1c4d1c2eec5 /lib-src/movemail.c | |
parent | 4e0a3e27236f937896764a8d060ee7f443ac6166 (diff) | |
download | emacs-3288d108f47db3bf90e95b69be1a510f97edb35e.tar.gz |
(main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize.
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r-- | lib-src/movemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |