RE: [PATCH v3 1/3] libc: fix setting return value and errno in fallocate()
Yuriy Kolerov <[email protected]> Wed, 7 Oct 2015 13:44:45 +0000
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <3ABF60118B9B784CA5BF7C841D2F00ECFA2985@de02wembxa.internal.synopsys.com> |
Hi Anthony, I hope these patches will be applied soon. Regards, Yuriy Kolerov > -----Original Message----- > From: uClibc [mailto:[email protected]] On Behalf Of Anthony G. > Basile > Sent: Monday, October 05, 2015 11:57 PM > To: [email protected] > 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 > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc