Change #286411
| Category | gcoreutils |
| Changed by | Collin Funk <collin.funk1@gmail.com> |
| Changed at | Fri 16 Oct 2026 02:33:05 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | 051456d4141b5c191cb88af46377ceb630d9d78c |
Comments
maint: split: use COUNTED_BY for the list of open pipes * src/split.c (open_pipes): Define as a struct containing the previously global variables. Use COUNTED_BY. (open_pipes_alloc, n_open_pipes): Remove variables moved into the newly added struct. (create): Update uses of the previously existing globals to reference the open_pipes struct. (closeout): Likewise. Don't decrement the pipe bounds until after we make our final access to the last pipe in the array, to satisfy the requirements of the COUNTED_BY attribute.
Changed files
- src/split.c