diff options
| author | Karim Pinter <karim.pinter@qt.io> | 2025-03-20 11:08:45 +0200 |
|---|---|---|
| committer | Karim Pinter <karim.pinter@qt.io> | 2025-04-14 09:38:59 +0300 |
| commit | fd73b220897e5b6faf012f2812e7eb9eab6c3955 (patch) | |
| tree | f5df3f4b097aecff969bc17cb821a8c0dfb6c65c /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp | |
| parent | ce38df4461d09793de675b6161225fc86e5168f4 (diff) | |
Fix VxWorks POSIX access() behavior
On VxWorks POSIX access() returns always false if it is called on file
which is not on POSIX file system, like DOSFS for example. Qt for
VxWorks 5.15 had similar patch omitting all access() calls and returning
true. This fix takes it a step further and checks if the file is on
POSIX filesystem or if it is DOSFS with read-only setting or not,
in case omitting access() call and returning true. Failure became
visible using QTranslator::load() method on DOSFS mmc card.
Task-number: QTBUG-134627
Pick-to: 6.8 6.9
Change-Id: I9c257d3cba1a2b976f2775ad129aae0e09f68ffd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
