On 25 Mar 2002 [EMAIL PROTECTED] wrote:

>     Not certain this patch is strictly necessary, but I recall some abnormal
>     behavior that was fixed at the time I changed this code.
>
>    #define IS_FNCHAR(c) (apr_c_is_fnchar[(unsigned char)(c)] & 1)
>   -#define IS_SHCHAR(c) (apr_c_is_fnchar[(unsigned char)(c)] & 2 == 2)
>   +#define IS_SHCHAR(c) ((apr_c_is_fnchar[(unsigned char)(c)] & 2) == 2)

It *is* necessary... == has a higher precedence than & does.  Good catch.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to