https://bugs.kde.org/show_bug.cgi?id=499727

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sit...@kde.org

--- Comment #4 from Harald Sitter <sit...@kde.org> ---
>    QTemporaryFile socketfile(prefix + QLatin1Char('/') + appName + 
> QStringLiteral("XXXXXX.%1.kioworker.socket").arg(s_socketCounter.fetchAndAddAcquire(1)));

Meanwhile Qt internally builds on sockaddr_un which has a 108 character limit.
We could probably just chop off appNames that are too long though that breaks
the uniqueness of the path.

Maybe the better option would be to sha1 the entire app name and the counter,
then use the hash as file name. It'd be of predictable length.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to