ahmadsamir added a comment.
I was wrong, indeed NAME_MAX is what should be used; looking at the code in
KAutoSaveFile::open(), and how tempFileName() is actually used:
tempFile = staleFilesDir + QChar::fromLatin1('/') + d->tempFileName();
NAME_MAX is what should be used, as tempFileName() returns the "filename"
part only, not the whole path.
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D24489
To: mardelle, #frameworks, dfaure
Cc: ahmadsamir, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns