]> git.sesse.net Git - vlc/commit
LUA: hide EINTR from scripts and remove the timeout feature
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jan 2011 15:40:50 +0000 (17:40 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jan 2011 15:49:00 +0000 (17:49 +0200)
commit314c242ab041d515c1b2f1a82ee1a3fe4fe715a5
treea44a38a4939b646b96e38f8e99122e8c16c69260
parent028174606c60efaeb6621d26bbf58192adc0a5d1
LUA: hide EINTR from scripts and remove the timeout feature

Timeout makes it too easy to write crappy code.
It's also much easier to handle EINTR without timeout.

This fixes a minor bug: revents was undefined if poll() failed.
modules/misc/lua/libs/net.c
share/lua/README.txt
share/lua/intf/modules/host.lua