File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -686,9 +686,9 @@ function event.print(...)
686686 for i = 1 , args .n do
687687 res [# res + 1 ] = variables .tostring (args [i ])
688688 end
689- res = table.concat (res , ' \t ' ).. ' \n '
689+ local str = table.concat (res , ' \t ' ).. ' \n '
690690 rdebug .getinfo (1 , " Sl" , info )
691- stdout (res , info )
691+ stdout (str , info )
692692 return true
693693end
694694
Original file line number Diff line number Diff line change @@ -9,14 +9,6 @@ local EPOLLOUT <const> = epoll.EPOLLOUT
99local EPOLLERR <const> = epoll .EPOLLERR
1010local EPOLLHUP <const> = epoll .EPOLLHUP
1111
12- local function fd_set_read (s )
13- if s ._flags & EPOLLIN ~= 0 then
14- return
15- end
16- s ._flags = s ._flags | EPOLLIN
17- epfd :event_mod (s ._fd , s ._flags )
18- end
19-
2012local function fd_clr_read (s )
2113 if s ._flags & EPOLLIN == 0 then
2214 return
You can’t perform that action at this time.
0 commit comments