]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tail: avoid rare error-path FD leak
authorJim Meyering <meyering@redhat.com>
Fri, 27 Jul 2012 21:42:05 +0000 (23:42 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 3 Aug 2012 12:54:01 +0000 (14:54 +0200)
commite11a2cf3198bcec9a5e10205bf3ebe66dc7edc59
tree68e541bd230bb8d180cc086f7d4e3cd9e8773747
parent74a1c058753faa79caff061407925463375ba5f3
tail: avoid rare error-path FD leak

* src/tail.c (tail_forever): Close FD to avoid leak after a
failed fstat.
src/tail.c