qt6-bb10/tests/auto/corelib/io/qfile
Jesus Fernandez 346cd79192 Make QFile::open fail when using an invalid file name
Fixes the bug in QFile which allowed opening a file with reserved
characters in its name.  If the name is a long file path, CreateFile
opens a file with a truncated name instead of failing, so we have
to catch reserved characters ourselves.

[ChangeLog][Windows] Fixed a bug that caused QFile to create
files with truncated names if the file name was invalid. Now,
QFile::open correctly fails to create such files.

Task-number: QTBUG-57023
Change-Id: I01d5a7132054cecdfa839d0b8de06460039248a3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2017-03-17 11:06:43 +00:00
..
resources
stdinprocess Updated license headers 2016-01-21 18:55:18 +00:00
test macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
.gitattributes
.gitignore
BLACKLIST Blacklist failing tst_QFile tests (OS X) 2016-01-06 09:38:55 +00:00
copy-fallback.qrc
dosfile.txt
forCopying.txt
forRenaming.txt
noendofline.txt
qfile.pro QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qfile.qrc
rename-fallback.qrc
testfile.txt
testlog.txt
tst_qfile.cpp Make QFile::open fail when using an invalid file name 2017-03-17 11:06:43 +00:00
two.dots.file