#22 harness: use off64_t instead of off_t in test 23.t (EINVAL on 32-bit)
Merged by jmoyer. Opened by andreasbaumann.
andreasbaumann/libaio test32-off_t  into  master

Download 22.patch

Running cases/23.p on Archlinux32 yields:
splice() -> Invalid argument (EINVAL)

The signature of the splice function is:

   ssize_t splice(int fd_in, off64_t *off_in, int fd_out,
                  off64_t *off_out, size_t len, unsigned int flags);

Replacing off_t with off64_t works on 64-bit and 32-bit Intel..

Pull-Request has been merged by jmoyer

Metadata