![]()
From: jose.kahan@w3.org
Date: Fri Jul 02 1999 - 08:01:32 CDT
Hello,
I found a minor bug. When decoding messages with multiple MIME attachments,
the decode variable (where the content encoding format is stored), isn't
updated.
This causes a problem with some messages which don't automatically include
the Content-Encoding header for some attachments (e.g., MH auto-included
signatures).
I'm enclosing a small patch which resets the status for MIME attachments.
It seems to work well fine.
BTW, as I've been continuing my development, my code starts to diverge more
and more from the hypermail CVS base. This makes it harder for me to submit
a single patch, as my current files includes all the patches I've developed
so far, and not just a single one.
I've also an on-line CVS base which I'm using for my patches. I try to
commit atomic patches, so it'll be easier to follow the development.
This base is in no way a substitute of your own base. It's just a place
where I'm storing my derivative system. I'll probably change the name
hypermail in the future, to something like hypermail-w3c, to avoid confusing
people.
http://dev.w3.org/cgi-bin/cvsweb/hypermess/hypermail/
BTW, the on-line hypermail mailing list archive seems to be broken as
none of my previous messages appear there (they are in the mbox, though).
-Jose
-----------------------------------------------------------------------------
Jose Kahan | w3c/INRIA | The taste
W3C technical support team | ZIRST | of rain
[http://www.w3.org] | 655, avenue de l'Europe | -Why kneel?
Tel: +33 (0)4 76.61.53.05 | 38330 Montbonnot Saint-Martin France |J.K (1959)
-----------------------------------------------------------------------------
================================================
cvs diff -c parse.c
Index: parse.c
===================================================================
RCS file: /cvs/hypermail/hypermail/src/parse.c,v
retrieving revision 1.20
diff -c -r1.20 parse.c
*** parse.c 1999/06/07 17:21:42 1.20
--- parse.c 1999/07/02 12:45:03
***************
*** 1545,1551 ****
printf("back to NONE\n");
#endif
}
!
if (-1 != binfile) {
close(binfile);
binfile=-1;
--- 1545,1554 ----
printf("back to NONE\n");
#endif
}
! /* go back to the MIME attachment default mode */
! content = CONTENT_TEXT;
! decode = ENCODE_NORMAL;
! multilinenoend = FALSE;
if (-1 != binfile) {
close(binfile);
binfile=-1;
![]()