[packages/qt5-qtbase] build without statx to support kernels older than 4.11

Arkadiusz Miśkiewicz arekm at maven.pl
Thu Mar 21 09:58:20 CET 2019


On 21/03/2019 00:35, atler wrote:
> commit fc41f21cbe3529378b0600ec3e027668b7f878d4
> Author: Jan Palus <atler at pld-linux.org>
> Date:   Thu Mar 21 00:30:10 2019 +0100
> 
>     build without statx to support kernels older than 4.11


Hm, it doesn't fallback? It should since it check ENOSYS

    int ret = qt_fstatx(fd, &statxBuffer);
    if (ret != -ENOSYS) {
        if (ret == 0) {
            data.fillFromStatxBuf(statxBuffer);
            return true;
        }
        return false;
    }

    if (QT_FSTAT(fd, &statBuffer) == 0) {
        data.fillFromStatBuf(statBuffer);
        return true;
    }


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the pld-devel-en mailing list