Re: [HACKERS] Open 6.4 items

Поиск
Список
Период
Сортировка
От Tom Ivar Helbekkmo
Тема Re: [HACKERS] Open 6.4 items
Дата
Msg-id 86lnmod39j.fsf@athene.nhh.no
обсуждение исходный текст
Ответ на Re: [HACKERS] Open 6.4 items  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Open 6.4 items
Список pgsql-hackers
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"

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Ivar Helbekkmo
Дата:
Сообщение: Re: [HACKERS] CIDR type and functions
Следующее
От: Tom Ivar Helbekkmo
Дата:
Сообщение: Re: [HACKERS] Open 6.4 items