
Before that, it returned -1 on error and set errno (not Posix) After the patch, it returns the error code and leaves errno untouched.
Before that, it returned -1 on error and set errno (not Posix) After the patch, it returns the error code and leaves errno untouched.