1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/mail/maildrop/files/patch-filelock.C
Guido Falsi 2e86dd8957 - Update to 2.7.0
- Also update dovecot auth patch to apply to this new version
- Properly convert to options and use options helpers
- Convert to new LIB_DEPENDS format
- Support staging
2013-10-04 00:46:50 +00:00

12 lines
404 B
C

--- libs/maildrop/filelock.C.orig 2013-08-25 20:54:20.000000000 +0200
+++ libs/maildrop/filelock.C 2013-10-01 17:26:36.724456433 +0200
@@ -63,7 +63,7 @@
// 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;
}