On 25 Oct 2007, at 14:46, Adrian Howard wrote: > size_t max_buffer_length = strlen(somestring); Wooo! Alarm bells! Trailing null! :) -- Andy Armstrong, Hexten