]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Fix "Script started" buffering race
authorStanislav Brabec <sbrabec@suse.cz>
Fri, 6 Feb 2015 18:59:14 +0000 (19:59 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Feb 2015 10:18:51 +0000 (11:18 +0100)
commit0b285b84b2f14339fd86857244654ba25fac7d73
treee24b2bbcce12294a9c6137512abb4755143869e7
parent6f41c5de40629c71a8f79e9be4b94f9a75f9ad21
Fix "Script started" buffering race

script -c "echo Hallo World" </dev/null >script.log ; cat script.log

Before:
Hallo World
Script started, file is typescript
Script started, file is typescript
Script done, file is typescript

After:
Script started, file is typescript
Hallo World
Script done, file is typescript
term-utils/script.c