Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
procmail
procmail-3.22-headerconcat.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procmail-3.22-headerconcat.dif of Package procmail
--- src/fields.c 2004-05-09 22:51:03.000000000 +0200 +++ src/fields.c 2004-05-09 22:49:08.000000000 +0200 @@ -68,8 +68,12 @@ l=fldp->Tot_len; if(!eqFrom_(p=fldp->fld_text)) /* don't concatenate From_ lines */ while(l--) - if(*p++=='\n'&&l) /* by substituting all newlines except the last */ - p[-1]=' '; + if(*p=='\n'&&l) { /* by removing all NL, SP except the last NL */ + tmemmove( p, p+2, l-- -1 ); + fldp->Tot_len -= 2; + } + else + p++; } static void extractfield(p)register const struct field*p; --- man/procmail.man 2001-09-11 06:54:43.000000000 +0200 +++ man/procmail.man 2004-05-10 00:17:37.000000000 +0200 @@ -604,9 +604,6 @@ A continued .B Content-Length: field is not handled correctly. -.PP -The embedded newlines in a continued header should be skipped when -matching instead of being treated as a single space as they are now. .SH MISCELLANEOUS If there is an existing .B Content-Length:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor