[imp] Different attachments with different languages

Robert Marchand robert.marchand@UMontreal.CA
Tue, 31 Jul 2001 09:52:01 -0400


Hi,

      I confirm that I can see the attachment if I choose the english 
language instead of
the french.

Is there a patch for 2.2.6?

Thanks.


At 21:53 01-07-30 +0000, you wrote:
>I got it. Perhaps it's the same problem, Robert Marchand has.
>
>The mimeSummary in imp 2.2 and the partSummary in imp 2.3 both do:
>if (!($mime->size > 0)) return ''
>
>If you got an attachment with, let's say, a size of 0.5 this is=
 interpretated
>different if you have different locale settings. In German locale you have=
 to
>write 0,5 instead of 0.5 thus the greater-than-test fails.
>
>I already fixed this and will commit it in a minute,
>
>Jan.

-------
Robert Marchand                 tél: 343-6111 poste 5210
DGTIC-SIT                       e-mail: robert.marchand@umontreal.ca
Université de Montréal          Montréal, Canada