[pulseaudio-discuss] Zeroconf-publish fails to run
lennart at poettering.net
Mon Aug 20 07:59:26 PDT 2007
On Thu, 16.08.07 10:15, Rémi Cardona (remi at gentoo.org) wrote:
> > (And while we're at it. Avahi's current implementation of
> > avahi_alternative_service_name() which generates an alternative
> > service name when a name conflict happens and basically just attaches
> > " #2", " #3" to it, generates a 66 character string when you pass a 63
> > character string to it. Which is obviously a bug in Avahi. I've posted
> > this as bug #151 in avahi BT now.)
> I tried looking through avahi, but it seems that the function used in
> avahi counts chars using strlen() which isn't utf8 aware either. Either
> way, avahi could also use something like the first patch to count UTF8
> chars properly.
> But this is just with a quick look :) I could be way off.
That patch looks fine to me.
However, I already merged code for this into Avahi and copied that into
PA a few days ago.
It's in the "lennart" branch r1674.
Nonetheless, thank you very much for your patch!
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss