Bonjour registration on Intel Macs is broken

From: Ashley Clark <aclark(at)ghoti(dot)org>
To: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Bonjour registration on Intel Macs is broken
Date: 2006-03-18 21:35:19
Message-ID: C90A42E6-6807-4FD3-B7B7-F07DCD3B0A48@ghoti.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Neil Conway 2006-03-18 22:11:56 Re: [PATCHES] Bonjour registration on Intel Macs is broken
Previous Message William ZHANG 2006-03-18 14:05:39 Re: BUG #2332: commands ignored until end of transaction block

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Hallgren 2006-03-18 22:02:29 Re: Automatically setting work_mem
Previous Message Luke Lonergan 2006-03-18 21:29:37 Re: Automatically setting work_mem