projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.14.3
[platform/upstream/git.git]
/
compat
/
poll
/
poll.c
diff --git
a/compat/poll/poll.c
b/compat/poll/poll.c
index
b10adc7
..
ae03b74
100644
(file)
--- a/
compat/poll/poll.c
+++ b/
compat/poll/poll.c
@@
-438,6
+438,10
@@
poll (struct pollfd *pfd, nfds_t nfd, int timeout)
pfd[i].revents = happened;
rc++;
}
+ else
+ {
+ pfd[i].revents = 0;
+ }
}
return rc;