On 04/25/2013 02:46 AM, Guenter Knauf wrote:
> On 24.04.2013 00:18, Guenter Knauf wrote:
>> and two more things:
>> 1) I found with my script that there is also a table apr_table created
>> with methods get and set but its not yet documented
>> 2) I wonder why we do export some functions from mod_lua, and what could
>> make use of these?
> Gregg kindly just tested without those exports, and it still works fine;
> so seems that Windows doesnt need them either ...
> 
> another thing I came over:
> 3) it would be nice if we would do a changedir to the location of the
> calling script so that its easily possible to use other files in the
> same dir - I've not yet checked if that should happen, but at least on
> NetWare where I was testing it does not chdir to the script's dir  ...
> 
> Gün.
> 
> 
> 
Reading these emails consecutively, so apologies if I reply to something
that others have answered ;)

Okay, I'll look at not exporting those things, I guess.

Yes, I agree that we should probably chdir to the directory we're
calling a script from. This would also make it easier to do fx:
io.open("./foo.txt") and have it open foo.txt in the calling directory.
I'll look into that :)

With regards,
Daniel.

Reply via email to