1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/mail/pine4/files/patch-aw
1999-10-18 23:32:23 +00:00

13 lines
524 B
Plaintext

--- imap/src/osdep/unix/env_unix.c.orig Sun Oct 10 13:43:21 1999
+++ imap/src/osdep/unix/env_unix.c Wed Oct 13 20:11:32 1999
@@ -825,7 +825,8 @@
}
close (pi[0]); close (pi[1]);
}
- if (lockEaccesError) {/* punt silently if paranoid site */
+ if (strncmp(base->lock,"/var/mail/",10) && 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");