On 11 May 2007, at 11:01, Ash Berlin wrote: >>> I think that yours breaks on an empty string. >> I don't think it does. The loop never executes if len is zero. >> I think it breaks by claiming to return a char * but then being void. > > That what you get for writing from memory and not compiling :) I assumed as much :) -- Andy Armstrong, hexten.net