diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2014-09-07 21:27:47 (GMT) |
---|---|---|
committer | Samuel Gaist <samuel.gaist@edeltech.ch> | 2014-10-01 21:19:35 (GMT) |
commit | e1a8a55a585dfe3d3326cec1211884cb4acf5153 (patch) | |
tree | 840caf22a5c53e8b5e2314b3521ae43f316f53d1 /header.FDL | |
parent | 45de76f8e071edcf77bc3bd006f052fe5b3f01fc (diff) | |
download | Qt-e1a8a55a585dfe3d3326cec1211884cb4acf5153.zip Qt-e1a8a55a585dfe3d3326cec1211884cb4acf5153.tar.gz Qt-e1a8a55a585dfe3d3326cec1211884cb4acf5153.tar.bz2 |
Backport: use backslashes for UNCs path
ShellExecute fails to open a share folder due to using '/' instead of '\'.
Windows API doesn't support forward slashes for extended-length path.
Extended-length path are path that start with a "\\?\" prefix. For example,
"\\?\c:\very_long_path\foo\bar.txt", or in the case of a UNC path that
would be "\\?\very_long_path\foo\bar.txt". [1]
[1] http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath
(cherry-picked and adapted from qtbase/18c916517f3004d34482c20ed66bf09ec274d385)
Task-number: QTBUG-13359
Change-Id: I2f38ecb76d87b87dc1d40bd48c94c78550a6ca1f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'header.FDL')
0 files changed, 0 insertions, 0 deletions