| 1338 | } |
| 1339 | |
| 1340 | static size_t |
| 1341 | fts_maxarglen(char* const* argv) |
| 1342 | { |
| 1343 | size_t len, max; |
| 1344 | |
| 1345 | for (max = 0; *argv; ++argv) { |
| 1346 | if ((len = strlen(*argv)) > max) { |
| 1347 | max = len; |
| 1348 | } |
| 1349 | } |
| 1350 | return (max + 1); |
| 1351 | } |
| 1352 | |
| 1353 | /* |
| 1354 | * Change to dir specified by fd or p->fts_accpath without getting |