[Date Prev][Date Next][Thread Prev][Thread Next]
- 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:
#define strcoll strcmp
You could also avoid the 'fprintf' in panic with a similar patch:
#define fprintf(f,a,b) myfunction(a,b)