Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAFIQum24821 for ; Thu, 15 Nov 2001 13:26:56 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id fAFIQoV22571; Thu, 15 Nov 2001 13:26:50 -0500 (EST) From: Bruce Momjian Message-Id: <200111151826.fAFIQoV22571@candle.pha.pa.us> Subject: Re: bug?? in oid2name In-Reply-To: <3BF3ECE3.7F58E393@bonito.atc.unican.es> "from Luis Amigo at Nov 15, 2001 05:27:15 pm" To: Luis Amigo Date: Thu, 15 Nov 2001 13:26:50 -0500 (EST) CC: ADMIN X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200111/77 X-Sequence-Number: 2602 > 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026