Thread: bug in EN_set_odbc3 macro

bug in EN_set_odbc3 macro

From
tomas@nocrew.org (Tomas Skäre)
Date:
Hi,

I found that the EN_set_odbc3 macro in environ.h seems to be
wrong. It's defined as:

#define EN_set_odbc3(env) (env->flag &= EN_OV_ODBC2)

There should probably be a ~ in there too:

#define EN_set_odbc3(env) (env->flag &= ~EN_OV_ODBC2)


Greetings,

Tomas

Re: bug in EN_set_odbc3 macro

From
"Hiroshi Inoue"
Date:
> -----Original Message-----
> From: Tomas Sk舐e
>
> Hi,
>
> I found that the EN_set_odbc3 macro in environ.h seems to be
> wrong. It's defined as:
>
> #define EN_set_odbc3(env) (env->flag &= EN_OV_ODBC2)
>
> There should probably be a ~ in there too:
>
> #define EN_set_odbc3(env) (env->flag &= ~EN_OV_ODBC2)

Oops you are right.
I would fix it ASAP.

Thanks.
Hiroshi Inoue