1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/mail/pine4/files/patch-aw

13 lines
524 B
Plaintext
Raw Normal View History

--- 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");