version 1.73, 2011/03/27 18:22:50 |
version 1.74, 2011/04/04 23:08:30 |
|
|
/* NUL-terminate line buffer for strtol() safety. */ |
/* NUL-terminate line buffer for strtol() safety. */ |
tmp = lp->l_line[lp->l_len - 1]; |
tmp = lp->l_line[lp->l_len - 1]; |
lp->l_line[lp->l_len - 1] = '\0'; |
lp->l_line[lp->l_len - 1] = '\0'; |
|
(void)strtol((lp->l_line + 1), &ep, 10); |
ep++; |
ep++; |
nbln = (int)strtol(ep, &ep, 10); |
nbln = (int)strtol(ep, &ep, 10); |
/* Restore the last byte of the buffer */ |
/* Restore the last byte of the buffer */ |