]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cat: omit unnecessary lseek
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Feb 2025 21:01:35 +0000 (13:01 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Feb 2025 21:13:08 +0000 (13:13 -0800)
commitdff821d3e392d7ac39c44eb5ded43ea91ced92f2
tree5a7c9de36698bbc74db832ee8e1b11b9ed119941
parenta6a8f687f8a05e222c557d48e22a214f48c3c9cb
cat: omit unnecessary lseek

* src/cat.c (main): Don’t bother to try lseek on a fifo or socket,
as it will fail.
src/cat.c