89 |
char *p; |
char *p; |
90 |
|
|
91 |
for (p = s; *s; s++) { |
for (p = s; *s; s++) { |
92 |
if (isspace(*s)) |
if (isspace((unsigned char)*s)) |
93 |
continue; |
continue; |
94 |
if (*s == '\\' && *(s + 1)) |
if (*s == '\\' && *(s + 1)) |
95 |
s++; |
s++; |
134 |
const char *p; |
const char *p; |
135 |
|
|
136 |
for (p = suffp; *p && *p != ','; p++) { |
for (p = suffp; *p && *p != ','; p++) { |
137 |
if (!isalnum(*p)) |
if (!isalnum((unsigned char)*p)) |
138 |
strbuf_putc(sb, '\\'); |
strbuf_putc(sb, '\\'); |
139 |
strbuf_putc(sb, *p); |
strbuf_putc(sb, *p); |
140 |
} |
} |
198 |
/* |
/* |
199 |
* load skip data. |
* load skip data. |
200 |
*/ |
*/ |
201 |
if (!getconfs("skip", reg)) |
if (!getconfs("skip", reg)) { |
202 |
|
strbuf_close(reg); |
203 |
return; |
return; |
204 |
|
} |
205 |
skiplist = strdup(strbuf_value(reg)); |
skiplist = strdup(strbuf_value(reg)); |
206 |
if (!skiplist) |
if (!skiplist) |
207 |
die("short of memory."); |
die("short of memory."); |