Change #264212
| Category | gcoreutils |
| Changed by | Collin Funk <collin.funk1@gmail.com> |
| Changed at | Sat 11 Apr 2026 07:44:22 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | 9a3479f1ea026f67f36dd690871f85e5163fc6c5 |
Comments
cat: avoid redundant pipe creation and resizing * src/cat.c (splice_cat): Don't bother resizing input as it generally doesn't help perf, and also save an fstat per input. Don't close the intermediate pipe once created, unless there is an error reading from it. Co-authored-by: Pádraig Brady <P@draigBrady.com>
Changed files
- src/cat.c