<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3108: Mutt 1.5.18 "could not copy message"



#3108: Mutt 1.5.18 "could not copy message"
---------------------+------------------------------------------------------
  Reporter:  mcba    |       Owner:  mutt-dev
      Type:  defect  |      Status:  new     
  Priority:  major   |   Milestone:          
 Component:  mutt    |     Version:  1.5.18  
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------

Comment(by myon):

 Inlining the patch for better visibility:

 {{{
 --- mutt-1.5.16-orig/handler.c  2007-08-15 14:10:26.000000000 +0300
 +++ mutt-1.5.16/handler.c       2007-08-15 14:10:05.000000000 +0300
 @@ -1575,9 +1575,10 @@
      fseeko (s->fpin, b->offset, 0);

      /* see if we need to decode this part before processing it */
 -    if (b->encoding == ENCBASE64 || b->encoding == ENCQUOTEDPRINTABLE ||
 +    if (b->type != TYPEMULTIPART &&
 +       (b->encoding == ENCBASE64 || b->encoding == ENCQUOTEDPRINTABLE ||
         b->encoding == ENCUUENCODED || plaintext ||
 -       mutt_is_text_part (b))                          /* text subtypes
 may
 +       mutt_is_text_part (b)))                         /* text subtypes
 may
                                                          * require
 character
                                                          * set conversion
 even
                                                          * with 8bit
 encoding.
 --- mutt/PATCHES.old    Tue Nov  6 19:59:33 2001
 +++ mutt/PATCHES        Tue Nov  6 19:59:42 2001
 @@ -0,0 +1 @@
 +sy.multipart_decode
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3108#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent