Re: last trim code

2006-09-05 Thread Bruno Haible
[Re-added bug-gnulib in CC.] Hello Davide, > On Monday 04 September 2006 18:56, you wrote: > > I see also you've partially adopted the GNU style for this code. Fine! > > Indeed, before we put code into gnulib, we reindent it to GNU style. > > Another element of this style is to put a space before

Re: last trim code

2006-09-04 Thread Bruno Haible
[Re-added bug-gnulib in CC.] Hello Davide, Thanks for the new code. Looks quite good now. The second loop, however, will crash when passed a string consisting entirely of whitespace. I see also you've partially adopted the GNU style for this code. Fine! Indeed, before we put code into gnulib, we