187 |
die("too small number of parts.\n'%s'", line); |
die("too small number of parts.\n'%s'", line); |
188 |
} |
} |
189 |
for (p = ptable.part[1].start; *p; p++) { |
for (p = ptable.part[1].start; *p; p++) { |
190 |
if (!isdigit(*p)) { |
if (!isdigit((unsigned char)*p)) { |
191 |
recover(&ptable); |
recover(&ptable); |
192 |
die("line number includes other than digit.\n'%s'", line); |
die("line number includes other than digit.\n'%s'", line); |
193 |
} |
} |
204 |
} |
} |
205 |
if (format & GTAGS_PATHINDEX) { |
if (format & GTAGS_PATHINDEX) { |
206 |
for (p = ptable.part[2].start; *p; p++) |
for (p = ptable.part[2].start; *p; p++) |
207 |
if (!isdigit(*p)) { |
if (!isdigit((unsigned char)*p)) { |
208 |
recover(&ptable); |
recover(&ptable); |
209 |
die("file number includes other than digit.\n'%s'", line); |
die("file number includes other than digit.\n'%s'", line); |
210 |
} |
} |
309 |
const char *p; |
const char *p; |
310 |
|
|
311 |
if ((p = dbop_get(gtop->dbop, VERSIONKEY)) != NULL) { |
if ((p = dbop_get(gtop->dbop, VERSIONKEY)) != NULL) { |
312 |
for (p += strlen(VERSIONKEY); *p && isspace(*p); p++) |
for (p += strlen(VERSIONKEY); *p && isspace((unsigned char)*p); p++) |
313 |
; |
; |
314 |
gtop->format_version = atoi(p); |
gtop->format_version = atoi(p); |
315 |
} |
} |