Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.8.8/8.8.8) with ESMTP id VAA06519 for ; Sun, 11 Oct 1998 21:31:04 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id VAA28955; Sun, 11 Oct 1998 21:31:06 -0400 (EDT) From: Bruce Momjian Message-Id: <199810120131.VAA28955@candle.pha.pa.us> Subject: Re: [HACKERS] Open 6.4 items In-Reply-To: <86lnmod39j.fsf@athene.nhh.no> from Tom Ivar Helbekkmo at "Oct 10, 1998 2:12:40 pm" To: tih@nhh.no (Tom Ivar Helbekkmo) Date: Sun, 11 Oct 1998 21:31:06 -0400 (EDT) Cc: hackers@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Applied > I wrote: > > > As far as I can tell, the only actual error in Paul Vixie's code is > > that the two lines you quote above should be: > > > > else if (--size > 0) > > *++dst = 0, dirty = 0; > > > That is, the patch to apply to fix the INET type is: > > Index: inet_net_pton.c > =================================================================== > RCS file: /usr/local/cvsroot/pgsql/src/backend/utils/adt/inet_net_pton.c,v > retrieving revision 1.2 > diff -r1.2 inet_net_pton.c > 120c120 > < else if (size-- > 0) > --- > > else if (--size > 0) > > -tih > -- > Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier" > > -- Bruce Momjian | http://www.op.net/~candle maillist@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