提交 c1024416 编写于 作者: P Pavel Hrdina

use g_ascii_islower instead of c_islower from gnulib

Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
Reviewed-by: NCole Robinson <crobinso@redhat.com>
上级 a405834a
......@@ -393,11 +393,11 @@ int virDiskNameParse(const char *name, int *disk, int *partition)
}
}
if (!ptr || !c_islower(*ptr))
if (!ptr || !g_ascii_islower(*ptr))
return -1;
for (i = 0; *ptr; i++) {
if (!c_islower(*ptr))
if (!g_ascii_islower(*ptr))
break;
idx = (idx + (i < 1 ? 0 : 1)) * 26;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册