ports/mail/maildrop/files/patch-libs_maildrop_filelock.C
Guido Falsi cf05ce3135 - Update courier-unicode to 1.2
- Update courier-imap to 4.16.1
- Update maildrop to 2.8.2
- Update sqwebmail to 5.8.2
- Update courier-authlib to 0.66.2
- Some plist and Makefile modernization

Approved by:		oliver@ (as maintainer of various of these ports)
Differential Revision:	https://reviews.freebsd.org/D2391
2015-04-30 09:14:47 +00:00

11 lines
369 B
C

--- libs/maildrop/filelock.C.orig 2013-08-25 18:54:20 UTC
+++ libs/maildrop/filelock.C
@@ -63,7 +63,7 @@ int flockrc;
// you're writing to a device file, you know what you're doing.
if (fstat(fd, &stat_buf) >= 0 && (
- S_ISREG(stat_buf.st_mode) || S_ISDIR(stat_buf.st_mode)))
+ S_ISCHR(stat_buf.st_mode) || S_ISBLK(stat_buf.st_mode)))
{
return;
}