On Sat, Sep 19, 2009 at 4:13 AM, Maciej Pijanka <[email protected]> wrote:
> if xalloc will be done as macro then its possible to use __LINE__ and > __FILE__ values to show from where xalloc was called > > #declare xalloc(a,b) xalloc(a,b,__FILE__, __LINE__) that's fine too. The main thing is that when an allocate fails you want as much information as possible, esp. if you are going to report a bug :-) Also, sometimes, seeing that it tried to allocate 981340981732871234 bytes can help :-) ron _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
