lua-users home
lua-l archive

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

> Does it also cover the 'fputs' in luaB_print (lbaselib.c) and the 
> 'fprintf' in panic (lauxlib.c)?

Just the 'fputs' in luaB_print.
> Also, #defining a macro for 'strcoll' in l_strcmp (lvm.c) would make it 
> easier to change it to 'strcmp' or to a custom string comparison function.

Or you could simply add this at the end of luaconf.h:

#ifdef lvm_c
#define strcoll strcmp

You could also avoid the 'fprintf' in panic with a similar patch:

#ifdef lauxlib_c
#define fprintf(f,a,b) myfunction(a,b)