Re: [HACKERS] I can't compile cvs snapshot ...

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: David Sauer <davids(at)orfinet(dot)cz>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] I can't compile cvs snapshot ...
Date: 1999-05-25 21:47:54
Message-ID: 199905252147.RAA05536@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-05-25 22:03:20 Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot
Previous Message Andrew Merrill 1999-05-25 21:47:31 Re: supported platform list