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

Yuriy Kolerov Yuriy.Kolerov at synopsys.com
Wed Oct 7 13:44:45 UTC 2015


Hi Anthony,

I hope these patches will be applied soon.

Regards,
Yuriy Kolerov


> -----Original Message-----
> From: uClibc [mailto:uclibc-bounces at uclibc.org] On Behalf Of Anthony G.
> Basile
> Sent: Monday, October 05, 2015 11:57 PM
> To: uclibc at uclibc.org
> Subject: Re: [PATCH v3 1/3] libc: fix setting return value and errno in
> fallocate()
> 
> On 9/23/15 8:43 AM, Yuriy Kolerov wrote:
> > fallocate system call must return 0 on success. On error, -1 is
> > returned and errno is set to indicate the error.
> >
> 
> Sorry for coming to the conversation late --- real life.  I did the first stab at
> implementing fallocate() and fallocate64() and I can see now I forgot all about
> errno.  Anyhow, this patch and the other one against posix_fallocate() look
> good.  They should also be backported to the 0.9.33 branch which we are
> using extensively in gentoo.  We can help Bernhard out by making sure they
> apply there cleanly.
> 
> I've heard of the linux test project but never played with it.  Sounds useful!
> 
> --
> Anthony G. Basile, Ph. D.
> Chair of Information Technology
> D'Youville College
> Buffalo, NY 14201
> (716) 829-8197
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc


More information about the uClibc mailing list