Re: [PATCH v2 1/3] libc: fix setting return value and errno in fallocate()
Vineet Gupta <[email protected]> Wed, 23 Sep 2015 02:41:20 +0000
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <C2D7FE5348E1B147BCA15975FBA23075D7818680@IN01WEMBXB.internal.synopsys.com> |
On Tuesday 22 September 2015 11:46 PM, Yuriy Kolerov wrote: fallocate system call must return 0 on success. On error, -1 is returned and errno is set to indicate the error. However there is an error in fallocate which is fixed by this patch - it does not set errno and returns invalid value on error (it returns error code instead of -1). Signed-off-by: Yuriy Kolerov <[email protected]><mailto:[email protected]> You still fail to mention that it fixes LTP test xyz ?