[PATCH v2 1/3] libc: fix setting return value and errno in fallocate()
Vineet Gupta
Vineet.Gupta1 at synopsys.com
Wed Sep 23 02:41:20 UTC 2015
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 <yuriy.kolerov at synopsys.com><mailto:yuriy.kolerov at synopsys.com>
You still fail to mention that it fixes LTP test xyz ?
More information about the uClibc
mailing list