Date: Fri, 03 Apr 2020 11:40:38 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 245156] audio/pulseaudio: parse /dev/sndstat correctly to get device name Message-ID: <bug-245156-6497-XheQoAxvaG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245156-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-245156-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245156 Greg V <greg@unrelenting.technology> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greg@unrelenting.technology --- Comment #14 from Greg V <greg@unrelenting.technology> --- Hi, I'm working on an upstream merge request: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277 I've included a solution for this that hopefully doesn't break Linux OSS or other BSDs (?), and does not use VLAs (variable-length arrays, which are not standard C) like `char desc[len + 1]` in attachment 213006: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/94a781060e64c= b871c0f2d3ee768123dd904f0a8?merge_request_iid=3D277 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245156-6497-XheQoAxvaG>