Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-bugs by date

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

pgsql-patches by date

Next:From: Thomas HallgrenDate: 2006-03-18 22:02:29
Subject: Re: Automatically setting work_mem
Previous:From: Luke LonerganDate: 2006-03-18 21:29:37
Subject: Re: Automatically setting work_mem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group