commit | 435448c7659384326568ed2a905d80ca36b6c86c | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed May 28 18:10:46 2014 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed May 28 18:13:30 2014 +0200 |
tree | 1ac3ef2771b712bf1a04fe552752ab77aeb201b2 | |
parent | 5fa2cc23920c780fa73d8892b7b727a43c7af36e [diff] |
pwrite/pwrite02.c: cleanup Merge pwrite02, pwrite03 into one pwrite02 test, which contains ESPIPE, EINVAL, EBADF and EFAULT tests. Remove useless comments and make use of SAFE_MACROS(). Delete some useless code and do some code re-arrangement. printf() is not async-signal-safe, so use write(2) in signal handler directly. Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>