On Sat, Nov 10, 2007 at 07:01:57PM +0100, Enrico Forestieri wrote:

> +     static size_t
> +     length(char_type const * s)
> +     {
> +             char_type const * p = s;
> +             while (*p)
> +                     +p;

Gotcha... should be ++p, of course.

> +             return (p - s);
> +     }

-- 
Enrico

Reply via email to