diff options
author | Guillermo Vidal <guillermo.vidal@continental-corporation.com> | 2012-05-09 13:43:34 -0500 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-22 01:45:11 +0200 |
commit | fec2aa2f9ee0748fdb7148613b8a359d246cc32a (patch) | |
tree | 49373b47687501de910a93d0f80090a88048295f /DISTRO_PORTING | |
parent | 927735238d1cfe9bd9d9db71025e801c391cb156 (diff) |
Fixed handling of posix_fallocate() returned value
According to the man pages of posix_fallocate, it returns zero on
success or an error number on failure; however, errno is not set
on failure. If the kernel or a library other than glibc does not
support the function for example, EOPNOTSUPP will be returned and
the error will not be handled properly with original code.
Diffstat (limited to 'DISTRO_PORTING')
0 files changed, 0 insertions, 0 deletions