Pino Toscano, le Fri 07 Sep 2012 20:02:56 +0200, a écrit :
> +static int args_filename_length (const char *name)
> +{
> +  const char *p = name;
> +  while (*p != '\0' && *p != ' ')
> +    ++p;

Why not using index(name, ' ') here?

> +  return p - name;
> +}

Samuel

Reply via email to