pkgsrc/mail/procmail/patches/patch-ad
wiz 977bf50a02 Update to procmail-3.15, inspired by D'Arcy J.M. Cain.
Relevant changes:
- Rewrite folder type parsing: corrects handling of MH and maildir
  style spools
- v3.14 changed '!' actions too much: revert to v3.13 behavior but
  continue to split SENDMAILFLAGS
- Contents of skipped nested blocks could affect 'E', 'e', 'a', and
  'A' flags
- Prevent peeking into buffers on "Out of memory" errors
- Unquoted $\var expansions could alter the interpretation of the
  following whitespace
- Prevent attempts to set LINEBUF to really huge values
- Optimize SWITCHRC = $_
- Use a secure PATH when processing /etc/procmailrc
- Use 2^31-1 as the maximum score even when sizeof(long)>4
Changes to formail:
- Allow -n with -D and -s again -- corruption couldn't happen after
  all
- Don't strip pre-colon whitespace until header is identified
- Properly handle NULs in the body when generating an autoreply that
  keeps the body (could coredump)
General:
- Documented that $\var expansions are never split on whitespace
- Removed ':' and '@' from list of characters that can appear in
  tempfile names
- Called nice() when shouldn't have
2000-08-26 14:26:57 +00:00

12 lines
425 B
Text

$NetBSD: patch-ad,v 1.3 2000/08/26 14:26:58 wiz Exp $
--- src/recommend.c.orig Thu Nov 25 04:13:36 1999
+++ src/recommend.c
@@ -19,7 +19,6 @@
{ fprintf(stderr,"Please run this program via 'make recommend'\n");
return EX_USAGE;
}
- strchr(mailspooldir,'\0')[-1]='\0'; /* strip last character */
for(p=checkf;*p;p++)
if(!stat(*p,&stbuf)&&stbuf.st_mode&S_ISGID)
{ if(stbuf.st_mode&S_ISGID)