]> git.pld-linux.org Git - packages/alpine.git/blame - alpine-no_1777_warning.patch
- BR: autoconf >= 2.69
[packages/alpine.git] / alpine-no_1777_warning.patch
CommitLineData
f9dda27f
JR
1--- alpine-0.9999/imap/src/osdep/unix/env_unix.c~ 2007-11-05 14:26:20.000000000 +0100
2+++ alpine-0.9999/imap/src/osdep/unix/env_unix.c 2007-11-05 14:50:21.000000000 +0100
3@@ -1215,20 +1215,7 @@
4 }
5 \f
6 MM_NOCRITICAL (NIL); /* no longer critical */
7- /* find directory/file delimiter */
8- if (s = strrchr (base->lock,'/')) {
9- *s = '\0'; /* tie off at directory */
10- sprintf(tmp, /* generate default message */
11- "Mailbox vulnerable - directory %.80s must have 1777 protection",
12- base->lock);
13- /* definitely not 1777 if can't stat */
14- mask = stat (base->lock,&sb) ? 0 : (sb.st_mode & 1777);
15- *s = '/'; /* restore lock name */
16- if (mask != 1777) { /* default warning if not 1777 */
17- if (!disableLockWarning) MM_LOG (tmp,WARN);
18- break;
19- }
20- }
21+ break;
22 default:
23 sprintf (tmp,"Mailbox vulnerable - error creating %.80s: %s",
24 base->lock,strerror (errno));
This page took 0.073561 seconds and 4 git commands to generate.