summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-07-11 14:06:55 -0700
committerThiago Macieira <thiago.macieira@intel.com>2018-07-12 20:15:20 +0000
commit04c57b68864cc8156d806959254de12f6cec47dc (patch)
tree22af6749a505601a2efe67e299f6e843b3ed2f00 /src/3rdparty/harfbuzz
parent9c0d34da5267db550eaa1b2cccc5c7bbe2dce527 (diff)
QFile::copy(): don't trust the old file metadata cache
Instead, let's just use sendfile(2) in a loop until it returns 0, which indicates EOF. [ChangeLog][QtCore][QFile] Fixed a regression in QFile::copy() that caused the original file not to be copied entirely if it was modified outside of this QFile object between the last time we checked its size and the copy() call. Note this is not a prevention against race conditions. Task-number: QTBUG-69417 Change-Id: Id59bdd8f1a804b809e22fffd15406c8aa31f4a1e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/3rdparty/harfbuzz')
0 files changed, 0 insertions, 0 deletions