projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c60c6
)
e_hwc_window: check negative fd and handle
19/173219/1
author
Juyeon Lee
<juyeonne.lee@samsung.com>
Tue, 20 Mar 2018 05:04:07 +0000
(14:04 +0900)
committer
Juyeon Lee
<juyeonne.lee@samsung.com>
Tue, 20 Mar 2018 05:04:07 +0000
(14:04 +0900)
Change-Id: I8b59bbc0830a1ed6e5e498d7691ece4b54db49bc
src/bin/e_hwc_window.c
patch
|
blob
|
history
diff --git
a/src/bin/e_hwc_window.c
b/src/bin/e_hwc_window.c
index 9eb67ed6b5a3c458c916a11a9d8a37a3aa7f33b9..64d0a2a0d8f7b8938dff15c85f55527c8fb4be2c 100644
(file)
--- a/
src/bin/e_hwc_window.c
+++ b/
src/bin/e_hwc_window.c
@@
-253,6
+253,8
@@
_e_hwc_window_target_window_render_finished_cb(void *data, Ecore_Fd_Handler *fd_
ELOGF("HWC-WINS", " ecore_main_loop: the new iteration.", NULL, NULL);
fd = ecore_main_fd_handler_fd_get(fd_handler);
+ if (fd < 0) return ECORE_CALLBACK_RENEW;
+
len = read(fd, buffer, sizeof(buffer));
if (len == -1)
ERR("failed to read queue acquire event fd:%m");