Subject: Re: lib/36175: mismatch of LANG and mutt's charset leads to
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: netbsd-bugs
Date: 04/19/2007 22:30:02
The following reply was made to PR lib/36175; it has been noted by GNATS.
From: Brian de Alwis <bsd@cs.ubc.ca>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: lib/36175: mismatch of LANG and mutt's charset leads to
excrutiatingly slow realloc(3) performance
Date: Thu, 19 Apr 2007 16:25:53 -0600
Strangely, the test-mailbox is now working fine for me. Attached
is another mailbox which causes the problem.
I should also note that you don't need to actually run a unicode
xterm. The problem can be induced just by running:
LANG=en_US.UTF-8 mutt -f ~/test-mailbox-2
Brian.
begin 644 test-mailbox-2
M1G)O;2!-04E,15(M1$%%34].(%1H=2!!<'(@(#4@,3(Z,SDZ-#<@,C`P,0I$
M871E.B`P-2!!<'(@,C`P,2`Q,CHS.3HT-R`M,#<P,`I&<F]M.B!-86EL(%-Y
M<W1E;2!);G1E<FYA;"!$871A(#Q-04E,15(M1$%%34].0&-S+G5B8RYC83X*
M4W5B:F5C=#H@1$].)U0@1$5,151%(%1(25,@34534T%'12`M+2!&3TQ$15(@
M24Y415).04P@1$%400I8+4E-05`Z(#`Y.#8T.3DU.#<@,#`P,#`P,#`P,`I3
M=&%T=7,Z(%)/"@I4:&ES('1E>'0@:7,@<&%R="!O9B!T:&4@:6YT97)N86P@
M9F]R;6%T(&]F('EO=7(@;6%I;"!F;VQD97(L(&%N9"!I<R!N;W0*82!R96%L
M(&UE<W-A9V4N("!)="!I<R!C<F5A=&5D(&%U=&]M871I8V%L;'D@8GD@=&AE
M(&UA:6P@<WES=&5M('-O9G1W87)E+@I)9B!D96QE=&5D+"!I;7!O<G1A;G0@
M9F]L9&5R(&1A=&$@=VEL;"!B92!L;W-T+"!A;F0@:70@=VEL;"!B92!R92UC
M<F5A=&5D"G=I=&@@=&AE(&1A=&$@<F5S970@=&\@:6YI=&EA;"!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P971I=&EO;BX*"@``
`
end
--
Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
"Amusement to an observing mind is study." - Benjamin Disraeli