Change #286119
| Category | gcoreutils |
| Changed by | Collin Funk <collin.funk1@gmail.com> |
| Changed at | Thu 15 Oct 2026 02:36:28 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | 5f2ad8da282e1ebd4be06cb423078e23318e6892 |
Comments
maint: df: refactor rows and columns to use COUNTED_BY * src/df.c (table): Define as a struct containing the previously global variables. Use COUNTED_BY. (columns, ncolumns, ncolumns_alloc, nrows, nrows_alloc): Move into the table struct. (alloc_table_row, print_table, alloc_field, get_field_list, get_header) (get_dev): Update uses of the previously existing globals to reference the table struct.
Changed files
- src/df.c