Re: bug?? in oid2name

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Luis Amigo <lamigo(at)atc(dot)unican(dot)es>
Cc: ADMIN <pgsql-admin(at)postgresql(dot)org>
Subject: Re: bug?? in oid2name
Date: 2001-11-15 18:26:50
Message-ID: 200111151826.fAFIQoV22571@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> I'm running postgers 7.1.3 on a origin 2000 running Irix 6.5.13 and
> oid2name hangs up. It's because on line 68 "while ((c = getopt(argc,
> argv, "H:p:U:P:d:t:o:xh?")) != EOF)"
> we're trying to compare a char (unsigned int on IRIX) with EOF(-1 here).
>
> it's fixed declaring int c instead of char c.
> hope it helps

Good catch. Fix applied and will appear in 7.2beta3.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(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-admin by date

  From Date Subject
Next Message Luis Amigo 2001-11-15 18:57:10 installing postgres on irix 6.5.13
Previous Message Radoslaw Stachowiak 2001-11-15 17:35:00 strange behaviour of gettimeofday() and pg_dump