Messages in this thread |  | | | Subject | Re: [PATCH 3/4] Simplify checks for unwanted chars | | From | OGAWA Hirofumi <> | | Date | Wed, 10 Nov 2004 00:40:11 +0900 |
| |
lsr@neapel230.server4you.de writes:
> +static inline int vfat_skip_char(wchar_t w) > { > - for(; *s != c; ++s) > - if (*s == 0) > - return NULL; > - return (wchar_t *) s; > + return (w == 0x002E) /* . */ > + || (w == 0x0020); /* <space> */ > }
Looks good. However, I can't apply the following patch. Can you also do it to IS_BADCHARS()?
[PATCH 1/4] Move check for invalid chars to vfat_valid_longname() -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |