| 1266 | } |
| 1267 | |
| 1268 | static void |
| 1269 | fts_lfree(FTSENT* head) |
| 1270 | { |
| 1271 | FTSENT* p; |
| 1272 | |
| 1273 | /* Free a linked list of structures. */ |
| 1274 | while ((p = head) != nullptr) { |
| 1275 | head = head->fts_link; |
| 1276 | free(p); |
| 1277 | } |
| 1278 | } |
| 1279 | |
| 1280 | /* |
| 1281 | * Allow essentially unlimited paths; find, rm, ls should all work on any tree. |
no test coverage detected