diff options
author | Carlos Bohórquez <carlos@kernelmap.com> | 2015-09-08 19:50:12 +0200 |
---|---|---|
committer | Carlos Bohórquez <carlos@kernelmap.com> | 2015-09-08 19:50:12 +0200 |
commit | c1e13633ce69cd9047697b645e2914bff145eaaa (patch) | |
tree | 295c5b2040b96ed3d5b7fe4f2a8990f5865acca6 /lumina-config | |
parent | Solves the issue 11073 (diff) | |
download | lumina-c1e13633ce69cd9047697b645e2914bff145eaaa.tar.gz lumina-c1e13633ce69cd9047697b645e2914bff145eaaa.tar.bz2 lumina-c1e13633ce69cd9047697b645e2914bff145eaaa.zip |
Avoid follow symlinks for size information.
Qt follows symlinks in Unix when size function is used. As a result, if
you have several symlinks that points to big files, the information will
be "wrong". It's better to avoid call size on symlinks and lost several
hundred of bytes instead of get the size of the same file several times.
If needed, lstat systemcall can be used to get symlinks real size.
Diffstat (limited to 'lumina-config')
0 files changed, 0 insertions, 0 deletions