On Sun, 25 Apr 2004 15:03:05 -0400, Phillip Vandry said:
> + const char *p;
> +
> + p = fname;
> + if (*(p = fname))
> + {
> + while ((*p) && isdigit(*p)) p++;
This will crash some systems if FNAME contains a non ascii character.
Please do
while (*p && isascii(*p) && isdigit(*p))
p++;
or (isascii is not standard)
s/const char *p/const unsigned char *p/
mutt may have a safe testing function too.
Werner