git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
17d12fc
)
use POLLPRI instead of POLLHUP
author
Felix Domke
<tmbinc@2mac.waldobjekt.org>
Mon, 15 Jun 2009 11:03:16 +0000
(13:03 +0200)
committer
Felix Domke
<tmbinc@2mac.waldobjekt.org>
Mon, 15 Jun 2009 11:03:16 +0000
(13:03 +0200)
lib/base/filepush.cpp
patch
|
blob
|
history
diff --git
a/lib/base/filepush.cpp
b/lib/base/filepush.cpp
index d43b6e1c6a1dc2ffea8a5a41ff83b4a3fa991b84..605ec8a883770eda5b59a6f47675c53d6b9ed659 100644
(file)
--- a/
lib/base/filepush.cpp
+++ b/
lib/base/filepush.cpp
@@
-192,7
+192,7
@@
void eFilePushThread::thread()
struct pollfd pfd;
pfd.fd = m_fd_dest;
struct pollfd pfd;
pfd.fd = m_fd_dest;
- pfd.events = POLL
HUP
;
+ pfd.events = POLL
PRI
;
poll(&pfd, 1, 10000);
sleep(5); /* HACK to allow ES buffer to drain */
already_empty = 1;
poll(&pfd, 1, 10000);
sleep(5); /* HACK to allow ES buffer to drain */
already_empty = 1;