bug?? on oid2name

From: Luis Amigo <lamigo(at)atc(dot)unican(dot)es>
To: ADMIN <pgsql-admin(at)postgresql(dot)org>, DOCS <pgsql-docs(at)postgresql(dot)org>, HACKERS <"pgsql-hackers\"(at)postgresql(dot)org(dot)pgsql-admin(at)postgresql(dot)org(dot)pgsql-sql(at)postgresql(dot)org"(at)bonito(dot)atc(dot)unican(dot)es>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: bug?? on oid2name
Date: 2001-11-15 16:20:05
Message-ID: 3BF3EB35.ABD3F35F@bonito.atc.unican.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-docs pgsql-general pgsql-novice

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

Browse pgsql-admin by date

  From Date Subject
Next Message Luis Amigo 2001-11-15 16:27:15 bug?? in oid2name
Previous Message Peter Eisentraut 2001-11-15 16:15:59 Re: about modifying and compiling a component of PostgreSQL

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2001-11-15 16:36:16 Re: [DOCS] Use of 'now'
Previous Message Peter Eisentraut 2001-11-15 16:15:48 Re: [DOCS] Use of 'now'

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2001-11-15 16:51:39 Re: multiple hard disk
Previous Message Tom Lane 2001-11-15 16:17:22 Re: Bug?

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew Burr 2001-11-15 20:39:35 Triggers & Compiled C Language Functions
Previous Message Ext-Taneli.Vahakangas 2001-11-15 15:50:37 Re: PostgreSQL performance deteriorates over time?