Bonjour registration on Intel Macs is broken - Mailing list pgsql-patches

From Ashley Clark
Subject Bonjour registration on Intel Macs is broken
Date
Msg-id C90A42E6-6807-4FD3-B7B7-F07DCD3B0A48@ghoti.org
Whole thread Raw
Responses Re: Bonjour registration on Intel Macs is broken
List pgsql-patches
The call to DNSServiceRegistrationCreate in postmaster.c does incorrect byte-swapping on the port number which causes the Bonjour registration call to fail on Intel Macs.

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


Ashley Clark


Attachment

pgsql-patches by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: allow select from void function in void sql function
Next
From: Neil Conway
Date:
Subject: Re: Bonjour registration on Intel Macs is broken