Re: [PATCH, MELT] fix minor issue with meltgc_new_split_string

2011-06-21 Thread Basile Starynkevitch
Thanks. I applied both patches: % svn log --limit 2 gcc/melt-runtime.c r175268 | bstarynk | 2011-06-21 19:29:34 +0200 (Tue, 21 Jun 2011) | 6 lines 2011-06-21 Pierre Vittet * melt-runtime.c (meltgc_new_split_stri

[PATCH, MELT] fix minor issue with meltgc_new_split_string

2011-06-21 Thread Pierre Vittet
Hello, I got a bug when using meltgc_new_split_string (in melt-runtime.c) with a string (argument str) like this one "mystringanotherString" with the separator. The function is not working on a string that start with the separator. I guess this case can happen in real case, for exemple when a