]> granicus.if.org Git - strace/commit
Fix printing of negative offsets in pread64 and pwrite64 syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 2 Apr 2016 01:08:24 +0000 (01:08 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 2 Apr 2016 01:08:24 +0000 (01:08 +0000)
commit9f3a6af09a7743ea91ad7857c938ac0b64b61a24
treefa49390f4d2b1535047efb6ff7e72ae9cd44eb91
parent69f1bf37fd73ff75dad4324662d1c5b7370a04c0
Fix printing of negative offsets in pread64 and pwrite64 syscalls

* io.c (SYS_FUNC(pread), SYS_FUNC(pwrite)): Print offset
using %lld format string.
* tests/pread64-pwrite64.c: New file.
* tests/pread64-pwrite64.test: New test.
* tests/.gitignore: Add pread64-pwrite64.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(pread64_pwrite64_CPPFLAGS): New variable.
(DECODER_TESTS): Add pread64-pwrite64.
io.c
tests/.gitignore
tests/Makefile.am
tests/pread64-pwrite64.c [new file with mode: 0644]
tests/pread64-pwrite64.test [new file with mode: 0755]