Bugs sent by David.
This commit is contained in:
parent
a65c599fc5
commit
72eceedc62
16 changed files with 12 additions and 21 deletions
|
@ -76,9 +76,9 @@ distribution directory structure:</p>
|
|||
<pre class=example>
|
||||
<SHARE>/compat-5.1.lua
|
||||
<SHARE>/ltn12.lua
|
||||
<SHARE>/mime/init.lua
|
||||
<SHARE>/mime/init.lua (originally mime.lua)
|
||||
<LIB>/mime/core.dll
|
||||
<SHARE>/socket/init.lua
|
||||
<SHARE>/socket/init.lua (originally socket.lua)
|
||||
<LIB>/socket/core.dll
|
||||
<SHARE>/socket/http.lua
|
||||
<SHARE>/socket/tp.lua
|
||||
|
@ -88,7 +88,10 @@ distribution directory structure:</p>
|
|||
</pre>
|
||||
|
||||
<p> Naturally, on Unix systems, <tt>core.dll</tt>
|
||||
would be replaced by <tt>core.so</tt>.
|
||||
would be replaced by <tt>core.so</tt>. Notice that in the instalation,
|
||||
<tt>socket.lua</tt> becomes <tt>socket/init.lua</tt>, and the same happens
|
||||
with <tt>mime.lua</tt>, which becomes <tt>mime/init.lua</tt>.
|
||||
</p>
|
||||
|
||||
<p> In order for the interpreter to find all LuaSocket components, three
|
||||
environment variables need to be set. The first environment variable tells
|
||||
|
@ -110,7 +113,7 @@ LUA_CPATH=<LIB>/?.dll;?.dll
|
|||
</pre>
|
||||
|
||||
<p> Again, naturally, on Unix systmems the shared library extension would be
|
||||
<tt>.so</tt> instead of <tt>.dll</tt></p>
|
||||
<tt>.so</tt> instead of <tt>.dll</tt>.</p>
|
||||
|
||||
<h3>Using LuaSocket</h3>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue