Bug in TOLOWER macro when STANDALONE (?)

2006-03-06 Thread Beni Serfaty
I Think I found a bug when STANDALONE is defined on hash.cI hope I'm not missing something here...(Please cc me the replies)@@ -63,7 +63,7 @@ if not enough memory */ # define xfree free# define countof(x) (sizeof (x) / sizeof ((x)[0]))-# define TOLOWER(x) ('A' = (x) (x) = 'Z' ? (x) - 32 : (x))+#

Re: Bug in TOLOWER macro when STANDALONE (?)

2006-03-06 Thread Hrvoje Niksic
Beni Serfaty [EMAIL PROTECTED] writes: I Think I found a bug when STANDALONE is defined on hash.c I hope I'm not missing something here... Good catch, thanks. I've applied a slightly different fix, appended below. By the way, are you using hash.c in a project? I'd like to hear if you're