diff options
author | Karel Zak | 2014-02-21 13:39:14 +0100 |
---|---|---|
committer | Karel Zak | 2014-02-21 13:39:14 +0100 |
commit | 4368e3e68736b518388e8cd24754dbc0f7e6685b (patch) | |
tree | c1e2229f3f5d650f1d84b791526d53ddf2373576 /text-utils/more.c | |
parent | script: Also flush writes to timing file. (diff) | |
download | kernel-qcow2-util-linux-4368e3e68736b518388e8cd24754dbc0f7e6685b.tar.gz kernel-qcow2-util-linux-4368e3e68736b518388e8cd24754dbc0f7e6685b.tar.xz kernel-qcow2-util-linux-4368e3e68736b518388e8cd24754dbc0f7e6685b.zip |
script: clean up files usage
* don't initialize timingfd (to stderr) when -t not specified
* care about timingfd dooutput() rather in main()
* make timingdf gloval like fscript FILE
* close all in done()
* close irrelevant things in subshell and input processes
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/more.c')
0 files changed, 0 insertions, 0 deletions