mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
isprint
This commit is contained in:
parent
dbd20bbdb7
commit
e8e7a84c64
@ -116,7 +116,7 @@ static void _regex_print(struct rx_node *rx, int depth)
|
|||||||
printf("[");
|
printf("[");
|
||||||
for (i = 0; i < 256; i++)
|
for (i = 0; i < 256; i++)
|
||||||
if (dm_bit(rx->charset, i)) {
|
if (dm_bit(rx->charset, i)) {
|
||||||
if isprint(i)
|
if (isprint(i))
|
||||||
printf("%c", (char) i);
|
printf("%c", (char) i);
|
||||||
else if (i == HAT_CHAR)
|
else if (i == HAT_CHAR)
|
||||||
printf("^");
|
printf("^");
|
||||||
|
Loading…
Reference in New Issue
Block a user