diff options
Diffstat (limited to 'chinese/pine4/files/patch-ac')
-rw-r--r-- | chinese/pine4/files/patch-ac | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/chinese/pine4/files/patch-ac b/chinese/pine4/files/patch-ac index 6c7f80761c01..b812c52c602a 100644 --- a/chinese/pine4/files/patch-ac +++ b/chinese/pine4/files/patch-ac @@ -1,15 +1,15 @@ ---- imap/src/osdep/unix/unix.c.orig Thu Jul 16 09:52:38 1998 -+++ imap/src/osdep/unix/unix.c Tue Jul 28 08:34:59 1998 -@@ -1008,7 +1008,11 @@ - /* try again if file exists(?) */ - if (!stat (hitch,&sb)) break; +--- imap/src/osdep/unix/unix.c.orig Thu Sep 3 15:07:07 1998 ++++ imap/src/osdep/unix/unix.c Tue Sep 22 13:36:19 1998 +@@ -1010,7 +1010,11 @@ + case EACCES: /* protection failure */ + if (stat (hitch,&sb)) { /* try again if file exists(?) */ /* 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 */ +- 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 */ ++ mail_parameters (NIL,GET_LOCKEACCESERROR,NIL)) + mm_log ("Mailbox vulnerable - directory must have 1777 protection", + WARN); + *lock = '\0'; /* give up on lock file */ |