diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-08-30 21:31:54 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-08-30 21:31:54 +0200 |
| commit | 030e4354efdf28bfee5614a78ff0dbd1a6acecf7 (patch) | |
| tree | 99d6785c5622e9121563bc2e5376fb904ecc43e4 | |
| parent | 90c4406d34b8292e70dbefcfade38a036b62f57a (diff) | |
| download | small-utils-030e4354efdf28bfee5614a78ff0dbd1a6acecf7.tar.gz small-utils-030e4354efdf28bfee5614a78ff0dbd1a6acecf7.tar.bz2 | |
split_for_sort: stdin mode flush output at end
| -rw-r--r-- | src/split_for_sort.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/split_for_sort.c b/src/split_for_sort.c index 36a90af..aa9be90 100644 --- a/src/split_for_sort.c +++ b/src/split_for_sort.c @@ -498,6 +498,7 @@ struct list_head *stdin_handling(struct list_head *list, size_t splitlength, cha } } + fflush_list(list); free(line); free(line_head); free(previous); |
