Re: ipv6 patch #3

Поиск
Список
Период
Сортировка
От Michael Graff
Тема Re: ipv6 patch #3
Дата
Msg-id v63chzoxyn.fsf@kechara.flame.org
обсуждение исходный текст
Ответ на Re: ipv6 patch #3  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: ipv6 patch #3  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Ok, I think the ,bits part was in error.  Go ahead and remove the %d
and the ,bits part.

--Michael

Bruce Momjian <pgman@candle.pha.pa.us> writes:

> Index: src/backend/utils/adt/inet_net_ntop.c
> ===================================================================
> RCS file: /cvsroot/pgsql-server/src/backend/utils/adt/inet_net_ntop.c,v
> retrieving revision 1.13
> diff -c -c -r1.13 inet_net_ntop.c
> *** src/backend/utils/adt/inet_net_ntop.c    24 Jun 2003 22:21:22 -0000    1.13
> --- src/backend/utils/adt/inet_net_ntop.c    24 Jun 2003 22:22:44 -0000
> ***************
> *** 270,278 ****
>
>       if (!double_colon) {
>           if (bits < 128 - 32)
> !             cp += SPRINTF((cp, "::", bits));
>           else if (bits < 128 - 16)
> !             cp += SPRINTF((cp, ":0", bits));
>       }
>
>       /* Format CIDR /width. */
> --- 270,278 ----
>
>       if (!double_colon) {
>           if (bits < 128 - 32)
> !             cp += SPRINTF((cp, "::%d", bits));
>           else if (bits < 128 - 16)
> !             cp += SPRINTF((cp, ":0%d", bits));
>       }
>
>       /* Format CIDR /width. */

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Synopsis inconsistencies
Следующее
От: Joe Conway
Дата:
Сообщение: Re: array support patch phase 1 patch