1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/chinese/pine4/files/patch-ac
Steve Price 615932e686 Update to version 4.20.
PR:		14575
Submitted by:	maintainer
1999-11-01 00:41:02 +00:00

16 lines
601 B
Plaintext

--- imap/src/osdep/unix/env_unix.c.orig Thu Oct 14 12:37:16 1999
+++ imap/src/osdep/unix/env_unix.c Thu Oct 14 13:21:27 1999
@@ -825,7 +825,11 @@
}
close (pi[0]); close (pi[1]);
}
- if (lockEaccesError) {/* punt silently if paranoid site */
+ if (
+#ifdef __FreeBSD__
+ strncmp(base->lock,"/var/mail/",10) && /* /var/mail/... isn't lockable */
+#endif
+ lockEaccesError) {/* punt silently if paranoid site */
sprintf (tmp,"Mailbox vulnerable - directory %.80s",hitch);
if (s = strrchr (tmp,'/')) *s = '\0';
strcat (tmp," must have 1777 protection");