Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 11578 Details for
Bug 17992
patch for courier-imap's fetch.c to fix virtual domain working with XMail
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for Courier-imap to make it possible to point it to XMail's maildir directories (CR/LF adjustment).
fetch.diff (text/plain), 906 bytes, created by
sergey ivanov
on 2003-05-06 10:12:45 UTC
(
hide
)
Description:
patch for Courier-imap to make it possible to point it to XMail's maildir directories (CR/LF adjustment).
Filename:
MIME Type:
Creator:
sergey ivanov
Created:
2003-05-06 10:12:45 UTC
Size:
906 bytes
patch
obsolete
>--- imap/fetch.c.orig 2003-05-06 07:42:31.000000000 -0400 >+++ imap/fetch.c 2003-05-06 07:15:12.000000000 -0400 >@@ -940,14 +940,14 @@ > l=0; > for (j=0; j<i; ) > { >- if (buf[j] != '\n' && buf[j] != '\r' && >+ if (buf[j] != '\r' && > !isspace((int)(unsigned char)buf[j])) > { > goodheader= (*headerfunc)(fi, ""); > > for (k=j; k<i; k++) > { >- if (buf[k] == '\n' || buf[k] == ':') >+ if (buf[k] == '\r' || buf[k] == ':') > break; > } > >@@ -958,13 +958,17 @@ > buf[k]=':'; > } > } >- else if (buf[j] == '\n') >+ else if (buf[j] == '\r') > goodheader=0; > > for (k=j; k<i; k++) >- if (buf[k] == '\n') >+ if (buf[k] == '\r') > { > ++k; >+ if (buf[k] == '\n') >+ { >+ ++k; >+ } > break; > } > >@@ -976,7 +980,7 @@ > j=k; > } > >- buf[l++]='\n'; /* Always append a blank line */ >+// buf[l++]='\n'; /* Always append a blank line */ > > cnt=l; > for (i=0; i<l; i++)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17992
:
11469
| 11578