diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2017-12-01 19:38:20 -0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-12-05 15:36:23 +0000 |
| commit | 138d34b9c8aa368dd252d0c46393816c7e372837 (patch) | |
| tree | fef6a8db0a135ab5f8c64bd7e5137d6e2d984dc6 /src/corelib/tools/qstringview.cpp | |
| parent | 2c6c044500a92a3a125ce4b5d936992bdf02a487 (diff) | |
QFileSystemEngine: Work around Android bug in rejecting hardlinks
Android Marshmellow intentionally forbids use of hard links. See
https://code.google.com/archive/p/android-developer-preview/issues/3150
However, instead of using EPERM or another error code that indicates the
hard linking operation itself has a problem but there are no other
problems, Android developers stupidly chose to use EACCES, an errno code
that only indicates permission problems.
In any case, since the call will never succeed, we shouldn't even try.
Task-number: QTBUG-64103
Change-Id: I9e2892cb6c374e93bcb7fffd14fc5d1082bd60a3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/corelib/tools/qstringview.cpp')
0 files changed, 0 insertions, 0 deletions
