GNOME Bugzilla – Bug 465067
Allow multiple simultaneous esound instances
Last modified: 2008-07-15 16:15:28 UTC
Please merge the patch I attached into upstream esd. It is already being shipped that way by Ubuntu. It moves the esd socket from /tmp/.esd/socket to /tmp/.esd-`id -u`/socket, effectively allowing multiple simultaneous esd instances, one per user. I need this for getting fast-user-switching working properly in PulseAudio, because otherwise when multiple PA instances are running only a single one would be able to emulate esd. As mentioned, this patch is already merged in Ubuntu's esd version. And I am now merging it into the Fedora version. See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251505
Created attachment 93371 [details] [review] the patch
"malloc(x+40)" for a sprintf buffer? Otherwise, it looks fine.
I guess Martin was just a little bit lazy. Should be enough space for a printing an int, though, and so I wouldn't care. And, it's certainly not the ugliest code in ESD. ;-) Do you really need this fixed? Not just Martin is a little bit lazy, I am too. ;-)
I'll fix it when I apply it. Or maybe not, since it is technically above the coding standards of esound.
committed