]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: do not call fileno() for std{in,out,err} streams
authorSami Kerola <kerolasa@iki.fi>
Sat, 26 May 2018 20:36:17 +0000 (21:36 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 2 Sep 2018 17:28:08 +0000 (18:28 +0100)
commitd2b540022b8df6fe4aa339c6b35cf9f980a9e877
tree7fb5a1ea97e7bc6bbdbc37397904b884ee2f6804
parent0b735ea49ec1bf2921f5d1eec5c8bb68112a0a55
more: do not call fileno() for std{in,out,err} streams

These file descriptor numbers are well known, use them from unistd.h

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c