Re: [glibc] preadv/pwritev question

2016-05-31 Thread Mike Frysinger
On 31 May 2016 17:00, Chris Metcalf wrote: > On 5/31/2016 4:04 PM, Yury Norov wrote: > > In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add > > this: > > +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c > > > > [...] > > > > +static ssize_t > > +do_preadv (int fd, const

Re: [glibc] preadv/pwritev question

2016-05-31 Thread Mike Frysinger
On 31 May 2016 17:00, Chris Metcalf wrote: > On 5/31/2016 4:04 PM, Yury Norov wrote: > > In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add > > this: > > +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c > > > > [...] > > > > +static ssize_t > > +do_preadv (int fd, const

Re: [glibc] preadv/pwritev question

2016-05-31 Thread Chris Metcalf
On 5/31/2016 4:04 PM, Yury Norov wrote: Hi Chris, In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add this: +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c [...] +static ssize_t +do_preadv (int fd, const struct iovec *vector, int count, off_t offset) +{ + assert

Re: [glibc] preadv/pwritev question

2016-05-31 Thread Chris Metcalf
On 5/31/2016 4:04 PM, Yury Norov wrote: Hi Chris, In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add this: +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c [...] +static ssize_t +do_preadv (int fd, const struct iovec *vector, int count, off_t offset) +{ + assert

[glibc] preadv/pwritev question

2016-05-31 Thread Yury Norov
Hi Chris, In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add this: +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c [...] +static ssize_t +do_preadv (int fd, const struct iovec *vector, int count, off_t offset) +{ + assert (sizeof (offset) == 4); + return

[glibc] preadv/pwritev question

2016-05-31 Thread Yury Norov
Hi Chris, In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add this: +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c [...] +static ssize_t +do_preadv (int fd, const struct iovec *vector, int count, off_t offset) +{ + assert (sizeof (offset) == 4); + return