bug?? on oid2name - Mailing list pgsql-docs

From Luis Amigo
Subject bug?? on oid2name
Date
Msg-id 3BF3EB35.ABD3F35F@bonito.atc.unican.es
Whole thread Raw
List pgsql-docs
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


pgsql-docs by date:

Previous
From: Stéphane Raimbault
Date:
Subject: Errors in tutorial
Next
From: Tom Lane
Date:
Subject: Re: Errors in tutorial