| 333 | } |
| 334 | |
| 335 | static void flist_done_allocating(struct file_list *flist) |
| 336 | { |
| 337 | void *ptr = pool_boundary(flist->file_pool, 8*1024); |
| 338 | if (flist->pool_boundary == ptr) |
| 339 | flist->pool_boundary = NULL; /* list didn't use any pool memory */ |
| 340 | else |
| 341 | flist->pool_boundary = ptr; |
| 342 | } |
| 343 | |
| 344 | /* Call this with EITHER (1) "file, NULL, 0" to chdir() to the file's |
| 345 | * F_PATHNAME(), or (2) "NULL, dir, dirlen" to chdir() to the supplied dir, |
no test coverage detected