diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-01-24 18:32:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-08 20:49:08 +0300 |
commit | 62adfcd24d2b5b92fdb6627a7b5b0471b300f923 (patch) | |
tree | f390c1c218fd822e501a4e91b956e9e2d2289e3c /libbutl/url.txx | |
parent | b6ebda4aad5b007d5cd6942e6c5a2795a881020c (diff) |
Make try_rmfile() to delete read-only files on Windows
Diffstat (limited to 'libbutl/url.txx')
-rw-r--r-- | libbutl/url.txx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/url.txx b/libbutl/url.txx index addfe88..e511bed 100644 --- a/libbutl/url.txx +++ b/libbutl/url.txx @@ -413,8 +413,11 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. if (authority) { + // We can't append '//' string literal, so appending characters. + // r += '/'; r += '/'; + r += authority->string (); } |