Re: [PATCH 1/2] libc: fix setting return value and errno in fallocate()

2015-09-18 Thread Bernhard Reutner-Fischer
On September 17, 2015 11:52:55 PM GMT+02:00, Rich Felker wrote: >On Thu, Sep 17, 2015 at 09:27:40PM +0200, Bernhard Reutner-Fischer >wrote: >> On September 17, 2015 6:16:48 PM GMT+02:00, Yuriy Kolerov > wrote: >> >Hi Rich. >> > >> >fallocate must

RE: [PATCH 1/2] libc: fix setting return value and errno in fallocate()

2015-09-18 Thread Yuriy Kolerov
I think it's meant that posix_fallocate must use fallocate as it is implemented now. int posix_fallocate(int fd, __off_t offset, __off_t len) { return __libc_fallocate(fd, 0, offset, len); } Regards, Yuriy Kolerov -Original Message- From: Rich Felker [mailto:dal...@aerifal.cx] On