pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does

From: neilc(at)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does
Date: 2006-03-18 22:10:12
Message-ID: 20060318221012.34E119DCA8B@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
The call to DNSServiceRegistrationCreate in postmaster.c does incorrect
byte-swapping on the port number which causes the call to fail on Intel
Macs.

This patch uses htons() instead of htonl() and fixes this bug.

Ashley Clark

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.475.2.3 -> r1.475.2.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.475.2.3&r2=1.475.2.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2006-03-18 22:10:14 pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does
Previous Message Neil Conway 2006-03-18 22:09:59 pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does