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"
In response to
Responses
pgsql-hackers by date
| Next: | From: Tom Ivar Helbekkmo | Date: 1998-10-10 12:38:25 |
| Subject: Re: [HACKERS] Open 6.4 items |
| Previous: | From: Tom Ivar Helbekkmo | Date: 1998-10-10 11:57:54 |
| Subject: Re: [HACKERS] CIDR type and functions |