comparison lib-src/movemail.c @ 5937:9e308c7501d1 cygwin

6 years later, not sure about movemail
author Henry Thompson <ht@markup.co.uk>
date Thu, 02 Dec 2021 14:34:45 +0000
parents 574f0cded429
children
comparison
equal deleted inserted replaced
5936:574f0cded429 5937:9e308c7501d1
456 { 456 {
457 case LOCKFING: 457 case LOCKFING:
458 case FLOCKING: 458 case FLOCKING:
459 case LOCKING: 459 case LOCKING:
460 #ifdef HAVE_FTRUNCATE 460 #ifdef HAVE_FTRUNCATE
461 ftruncate (indesc, E0); 461 ftruncate (indesc, 0L);
462 #else 462 #else
463 close (open (inname, O_CREAT | O_TRUNC | O_RDWR, 0666)); 463 close (open (inname, O_CREAT | O_TRUNC | O_RDWR, 0666));
464 #endif 464 #endif
465 close (indesc); 465 close (indesc);
466 break; 466 break;