diff options
author | Sami Kerola | 2016-05-07 09:33:57 +0200 |
---|---|---|
committer | Sami Kerola | 2016-07-01 22:01:26 +0200 |
commit | 97ebab4ea82103ca17c23489041b24231bf24e2e (patch) | |
tree | e57b5195c128f99eb4c81edfc521772e853cf38d /m4 | |
parent | write: use xstrncpy() from strutils.h (diff) | |
download | kernel-qcow2-util-linux-97ebab4ea82103ca17c23489041b24231bf24e2e.tar.gz kernel-qcow2-util-linux-97ebab4ea82103ca17c23489041b24231bf24e2e.tar.xz kernel-qcow2-util-linux-97ebab4ea82103ca17c23489041b24231bf24e2e.zip |
write: run atexit() checks at the end of execution
Earlier use of _exit() caused program to terminate abnormally from atexit()
perspective and standard file descriptor close checks did not run resulting
to blindness if writes were successful, or not. Easy fix is to avoid
running _exit() altogether.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions