aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-09 18:23:40 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-09 18:23:40 +0000
commit58bdb658aaa1c30a8f3bed46eef880d308fae582 (patch)
tree5bf880c715daff79c1a2062f2f3ae8336858c83f /etc
parentb2724ad2d1cc3768a04270ed3f8014ec65ad133b (diff)
downloadluasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.tar.gz
luasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.tar.bz2
luasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.zip
Select re-implemented in a nicer way.
Few changes in internal class and group registration. Lua modules are compiled and built into library. Dynamic library tested in Linux and Mac OS X.
Diffstat (limited to 'etc')
-rw-r--r--etc/check-links.lua2
-rw-r--r--etc/dict.lua2
-rw-r--r--etc/get.lua2
3 files changed, 6 insertions, 0 deletions
diff --git a/etc/check-links.lua b/etc/check-links.lua
index 705c0ce..4c96fdc 100644
--- a/etc/check-links.lua
+++ b/etc/check-links.lua
@@ -1,6 +1,8 @@
1----------------------------------------------------------------------------- 1-----------------------------------------------------------------------------
2-- Little program that checks links in HTML files 2-- Little program that checks links in HTML files
3-- LuaSocket 1.5 sample files. 3-- LuaSocket 1.5 sample files.
4-- Author: Diego Nehab
5-- RCS ID: $Id$
4----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
5socket.http.TIMEOUT = 10 7socket.http.TIMEOUT = 10
6 8
diff --git a/etc/dict.lua b/etc/dict.lua
index 6790cab..89bdb4f 100644
--- a/etc/dict.lua
+++ b/etc/dict.lua
@@ -1,6 +1,8 @@
1----------------------------------------------------------------------------- 1-----------------------------------------------------------------------------
2-- Little program to download DICT word definitions 2-- Little program to download DICT word definitions
3-- LuaSocket 1.5 sample files 3-- LuaSocket 1.5 sample files
4-- Author: Diego Nehab
5-- RCS ID: $Id$
4----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
5function get_status(sock, valid) 7function get_status(sock, valid)
6 local line, err = sock:receive() 8 local line, err = sock:receive()
diff --git a/etc/get.lua b/etc/get.lua
index af46c16..e972d16 100644
--- a/etc/get.lua
+++ b/etc/get.lua
@@ -1,6 +1,8 @@
1----------------------------------------------------------------------------- 1-----------------------------------------------------------------------------
2-- Little program to download files from URLs 2-- Little program to download files from URLs
3-- LuaSocket 1.5 sample files 3-- LuaSocket 1.5 sample files
4-- Author: Diego Nehab
5-- RCS ID: $Id$
4----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
5-- formats a number of seconds into human readable form 7-- formats a number of seconds into human readable form
6function nicetime(s) 8function nicetime(s)