Lines 402-413
Link Here
|
402 |
name = fullname = t = savestr(at); |
402 |
name = fullname = t = savestr(at); |
403 |
|
403 |
|
404 |
/* Strip off up to `sleading' leading slashes and null terminate. */ |
404 |
/* Strip off up to `sleading' leading slashes and null terminate. */ |
405 |
for (; *t && !isspace((unsigned char)*t); t++) |
405 |
for (; *t && *t!='\t' && *t!='\n'; t++) |
|
|
406 |
if (isspace((unsigned char) *t)) |
407 |
if (*(t+1) && (*(t+1) == '\t')) |
408 |
break; |
406 |
if (*t == '/') |
409 |
if (*t == '/') |
407 |
if (--sleading >= 0) |
410 |
if (--sleading >= 0) |
408 |
name = t + 1; |
411 |
name = t + 1; |
409 |
*t = '\0'; |
412 |
*t = '\0'; |
410 |
|
|
|
411 |
/* |
413 |
/* |
412 |
* If no -p option was given (957 is the default value!), |
414 |
* If no -p option was given (957 is the default value!), |
413 |
* we were given a relative pathname, |
415 |
* we were given a relative pathname, |