[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53676] [PATCH 0/5] *** PulseAudio service improvements ***
From: |
Maxim Cournoyer |
Subject: |
[bug#53676] [PATCH 0/5] *** PulseAudio service improvements *** |
Date: |
Thu, 24 Feb 2022 11:36:20 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hi Maxime,
>
> Maxime Devos <maximedevos@telenet.be> writes:
>
>> Maxim Cournoyer schreef op ma 07-02-2022 om 17:29 [-0500]:
>>> + char canonicalPath[PATH_MAX];
>>
>> PATH_MAX does not exist on the Hurd, see
>> <https://www.gnu.org/software/hurd//community/gsoc/project_ideas/maxpath.html>.
>> Also, according to
>> <https://insanecoding.blogspot.com/2007/11/pathmax-simply-isnt.html>
>> more a kind of minimum and not really a maximum; apparently
>> most uses of PATH_MAX are wrong.
>>
>> <https://www.gnu.org/software/hurd//hurd/porting/guidelines.html> recommends
>> a
>> geometrically growing series.
>
> Interesting! Note that PATH_MAX is already in use in that
> BubblewrapLauncher.cpp file.
For your information, the upstreamed patch [0] doesn't use PATH_MAX
anymore; it uses the FileSystem::realPath procedure of WebKit. Thanks
to Liliana for mentioning its existence!
[0] https://bugs.webkit.org/show_bug.cgi?id=211131
Maxim
[bug#53676] [PATCH 5/5] services: pulseaudio: Deploy the configuration files to /etc/pulse., Maxim Cournoyer, 2022/02/24