Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
bdc13f4b
Commit
bdc13f4b
authored
Jul 31, 2014
by
Andrey Kosteltsev
Committed by
Alejandro Mery
Aug 02, 2014
Browse files
fixed issue #29: bad if test?
parent
e2a3f16e
Changes
1
Hide whitespace changes
Inline
Side-by-side
fexc.c
View file @
bdc13f4b
...
...
@@ -68,8 +68,7 @@ static inline char *read_all(int fd, const char *filename, size_t *size)
p
=
buf
+
count
;
}
}
}
else
if
(
errno
!=
EAGAIN
||
errno
!=
EINTR
)
{
}
else
if
(
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
{
pr_err
(
"%s: %s: %s
\n
"
,
filename
,
"read"
,
strerror
(
errno
));
free
(
buf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment