1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

is_identifier characters

This commit is contained in:
Alasdair Kergon 2001-09-13 21:50:38 +00:00
parent b0388a4012
commit cbad7caa68

View File

@ -49,7 +49,7 @@ struct line_c {
static int is_identifier(const char *str, int len)
{
while(len--) {
if (!isalnum(*str) || *str != '_')
if (!isalnum(*str) && *str != '_')
return 0;
str++;
}