* Removed SyscallRestartWrapper comparison operators. They are not
needed, since we've got a cast operator. * Reverted r24927-r24929. There's no potential ambiguity anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24949 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -660,7 +660,7 @@ common_user_io(int fd, off_t pos, void *buffer, size_t length, bool write)
|
||||
else
|
||||
status = descriptor->ops->fd_read(descriptor, pos, buffer, &length);
|
||||
|
||||
if (status < (status_t)B_OK)
|
||||
if (status < B_OK)
|
||||
return status;
|
||||
|
||||
if (movePosition)
|
||||
@@ -726,7 +726,7 @@ common_user_vector_io(int fd, off_t pos, const iovec *userVecs, size_t count,
|
||||
&length);
|
||||
}
|
||||
|
||||
if (status < (status_t)B_OK) {
|
||||
if (status < B_OK) {
|
||||
if (bytesTransferred == 0)
|
||||
return status;
|
||||
status = B_OK;
|
||||
|
||||
Reference in New Issue
Block a user