[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: work3 - searchpath
- From: David Burgess <dburgess@...>
- Date: Sun, 19 Dec 2004 21:31:02 +1000
in lauxlib.c searchpath() checks for file readability by using
fopen().
My question is this ;
would it be better to use access() to check for file readibility?
The function is also available under windows and I believe under
mac.
Under windows it is called _access() (in io.h)
Does this break Lua's ANSI rules?
Even if it does its primary usage is in loadlib.c, which is hardly
ANSI.
DB