possible bug in charset.h

andreas moroder claudiamoroder at st-ulrich.suedtirol.net
Sat Jan 19 14:07:02 GMT 2002


Hello,

in charset.h from line 57 on #define toupper(c) (upper_char_map[(c&0xff)] & 
0xff) to line 66  the macro parameter is used without parenthesis. 

If a expression is passed as parameter to toupper(), then the macro fails.


Bye

Andreas




More information about the samba-technical mailing list