bug?? in oid2name

From: Luis Amigo <lamigo(at)atc(dot)unican(dot)es>
To: ADMIN <pgsql-admin(at)postgresql(dot)org>
Subject: bug?? in oid2name
Date: 2001-11-15 16:27:15
Message-ID: 3BF3ECE3.7F58E393@bonito.atc.unican.es
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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Josh Berkus 2001-11-15 16:52:05 Re: handling exceptions, really not simple... :-((
Previous Message Luis Amigo 2001-11-15 16:20:05 bug?? on oid2name