lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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