summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
564e49f)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
return 1;
if (line[i] == '#')
return 1;
return 1;
if (line[i] == '#')
return 1;
- if (!isspace(line[i]) && !iscntrl(line[i]))
+ if (!isspace((int) line[i]) && !iscntrl((int) line[i]))
* Go forward until we hit a non-digit
*/
while ((p - str) <= len) {
* Go forward until we hit a non-digit
*/
while ((p - str) <= len) {
+ if (!isdigit((int) *p))
+ if (!isalpha((int) *p))
p = NULL;
return __get_mult_bytes(p, data);
p = NULL;
return __get_mult_bytes(p, data);
+ while (isspace((int) *s))
p = s;
s = p + strlen(p);
p = s;
s = p + strlen(p);
- while ((isspace(*s) || iscntrl(*s)) && (s > start))
+ while ((isspace((int) *s) || iscntrl((int) *s)) && (s > start))