Re: [HACKERS] I can't compile cvs snapshot ... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] I can't compile cvs snapshot ...
Date
Msg-id 199905252147.RAA05536@candle.pha.pa.us
Whole thread Raw
In response to I can't compile cvs snapshot ...  (David Sauer <davids@orfinet.cz>)
List pgsql-hackers
> The problem is with file conv.c in backend/utils/mb/
> ....
> big52mic(unsigned char *big5, unsigned char *p, int len)
> 
>         unsigned short c1;
>         unsigned short big5buf,
>                                 cnsBuf;
>        unsigned char lc;
>         char          bogusBuf[2];
>         int                i;
> 
>         while (len > 0 && (c1 = *big5++))
>     {
>           if (c1 <= 0x007f U)
>                                 ^^^^ my egcs 1.1.2 on linux(rh6.0) doesn't
>                                      accept this space. Should be
>                                      (probably)  0x007fU
> ......
> 
> The same problem repeats on some more places.

OK, I have changed it to:
0x007f -> (unsigned)0x7f

This seems like the intent, and pgindent doesn't like the old format.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Edmund Mergl
Date:
Subject: Re: [HACKERS] strange behavior of UPDATE
Next
From: Andrew Merrill
Date:
Subject: Re: supported platform list