pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does - Mailing list pgsql-committers

From neilc@postgresql.org (Neil Conway)
Subject pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does
Date
Msg-id 20060318221014.8CE959DC819@postgresql.org
Whole thread Raw
List 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_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.443.4.6 -> r1.443.4.7)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.443.4.6&r2=1.443.4.7)

pgsql-committers by date:

Previous
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does
Next
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: The call to DNSServiceRegistrationCreate in postmaster.c does