possible bug in charset.h

Claudia Moroder claudiamoroder at st-ulrich.suedtirol.net
Sun Jan 20 00:24:02 GMT 2002


Hello Jeremy,

that was not my catch. SPLINT got it.

Bye
Andreas

-----Ursprüngliche Nachricht-----
Von: "Jeremy Allison" <jra at samba.org>
An: "andreas moroder" <claudiamoroder at st-ulrich.suedtirol.net>
Cc: <samba-technical at lists.samba.org>
Gesendet: Samstag, 19. Januar 2002 23:35
Betreff: Re: possible bug in charset.h


> On Sat, Jan 19, 2002 at 10:57:02PM +0100, andreas moroder wrote:
> > 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.
>
> Good catch - keep 'em coming.
>
> Jeremy.





More information about the samba-technical mailing list