commit | cf53436f737c0273028503186fc0f837c7191085 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Jul 12 20:54:46 2012 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Jul 12 20:54:46 2012 +0000 |
tree | 9ca6009d02b982d45bf40522a165071e631e8922 | |
parent | 26bc0606d96d05d30ba263939a0451889340a64c [diff] |
Close pipe and wait for the pipe process termination In case of normal strace termination, when the trace output is redirected to a file or a pipe, close it and wait for the pipe process termination. * strace.c (main): Before normal exit, close shared_log when it differs from stderr, and wait for popen_pid termination.