[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: print and lua conf
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 19 Feb 2009 07:06:27 -0300
> 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
#endif
You could also avoid the 'fprintf' in panic with a similar patch:
#ifdef lauxlib_c
#define fprintf(f,a,b) myfunction(a,b)
#endif