[Mono-list] perplexed about SIGBUS with custom format number
Gonzalo Paniagua Javier
gonzalo@ximian.com
11 Sep 2002 22:57:36 +0200
El mié, 11-09-2002 a las 20:53, John Duncan escribió:
> Hi all,
>
> If I run this code I get a SIGBUS in mint on OS X. I don't get it on
> Linux, so I'm looking for someone to give me a pointer to where I've
> messed up mint.
>
> namespace MonoCocoa.AcceptanceTest {
> public class Test {
> public static void Main() {
> IntegerFormatter.NumberToString("000",
> NumberFormatInfo.GetInstance(null), 22);
> }
> }
> }
Btw, IntegerFormatter should be an internal class (if there are no
problems, i'll make it internal again)... You should use Int32.Parse
(...).
-Gonzalo