1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/chinese/pine4/files/patch-ac
Vanilla I. Shu e144099054 Upgrade to 4.00
Submitted by:	Liang Tai-hwa <avatar@www.mmlab.cse.yzu.edu.tw>
1998-07-21 14:11:48 +00:00

16 lines
621 B
Plaintext

--- imap/src/osdep/unix/unix.c.orig Tue Jun 23 08:25:52 1998
+++ imap/src/osdep/unix/unix.c Wed Jul 15 17:02:29 1998
@@ -1006,7 +1006,11 @@
/* try again if file exists(?) */
if (!stat (hitch,&sb)) break;
/* punt silently if paranoid site */
- if (mail_parameters (NIL,GET_LOCKEACCESERROR,NIL))
+ if (
+#ifdef __FreeBSD__
+ strncmp(lock,"/var/mail/",10) && /* /var/mail/... isn't lockable */
+#endif
+ mail_parameters (NIL,GET_LOCKEACCESERROR,NIL))
default: /* some other error */
mm_log (tmp,WARN); /* this is probably not good */
*lock = '\0'; /* give up on lock file */