Slava Egorov
4928998ebe
[vm/io] Follow up to c2e9cee
...
* Fix `ToWinAPIFilePath` handling of UNC paths. This function did
not handle UNC paths correctly: it was prefixing them with
`\\?\` instead of `\\?\UNC\`;
* Fix issue in `File::Copy` forcing the wrong path to long form:
temporary files are created next to the destination, so it
is destination (`new_path`) that should be forced into long form and
not the source;
* Fix issue in `GetDirectoryPath` not preserving the path separator.
The newly added test should cover all these corner cases to prevent
future regressions.
TEST=standalone/io/regress_56049
Fixes https://github.com/dart-lang/sdk/issues/56049
Fixed: 56049
Change-Id: I4970efd0674989b8cc291778cf87806b0ea318ff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372400
Reviewed-by: Alexander Aprelev <aam@google.com >
Commit-Queue: Slava Egorov <vegorov@google.com >
2024-06-20 19:55:19 +00:00
..
2024-06-10 20:38:30 +00:00
2023-10-11 18:41:57 +00:00
2023-04-12 01:11:05 +00:00
2024-04-05 19:38:12 +00:00
2024-06-20 12:25:53 +00:00
2023-04-12 01:11:05 +00:00
2024-06-20 12:25:53 +00:00
2023-04-12 01:11:05 +00:00
2024-01-16 18:41:23 +00:00
2023-04-12 01:11:05 +00:00
2024-04-17 19:14:41 +00:00
2023-04-12 20:32:29 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-05-16 16:33:52 +00:00
2024-04-17 19:14:41 +00:00
2023-10-31 17:11:51 +00:00
2023-10-31 17:11:51 +00:00
2024-06-18 09:10:00 +00:00
2024-05-29 10:16:28 +00:00
2024-06-12 16:45:19 +00:00
2024-03-13 17:08:39 +00:00
2024-06-06 19:10:19 +00:00
2024-05-29 10:16:28 +00:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2024-01-11 23:54:59 +00:00
2024-03-12 08:29:36 +00:00
2024-04-10 01:41:57 +00:00
2023-07-14 01:31:38 +00:00
2023-04-12 20:32:29 +00:00
2024-04-17 19:14:41 +00:00
2023-04-12 20:32:29 +00:00
2024-02-09 14:10:49 +00:00
2023-05-02 07:32:30 +00:00
2023-01-25 14:08:27 +00:00
2024-06-05 23:08:15 +00:00
2024-04-17 19:14:41 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-06-06 19:10:19 +00:00
2024-06-06 19:10:19 +00:00
2024-02-09 14:10:49 +00:00
2023-01-06 07:48:22 +00:00
2024-05-29 10:16:28 +00:00
2024-05-29 10:16:28 +00:00
2024-05-29 10:16:28 +00:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2023-07-04 13:10:42 +00:00
2024-04-17 19:14:41 +00:00
2024-06-20 19:55:19 +00:00
2024-03-12 08:29:36 +00:00
2024-01-11 23:54:59 +00:00
2024-05-29 10:16:28 +00:00
2024-05-31 22:29:07 +00:00
2023-04-12 20:32:29 +00:00
2024-06-12 20:51:31 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-02-09 14:10:49 +00:00
2023-04-18 20:56:00 +00:00
2024-02-09 14:10:49 +00:00
2024-02-29 11:18:51 +00:00
2024-01-31 19:32:09 +00:00
2022-09-13 21:16:28 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-06-20 12:25:53 +00:00
2023-04-12 01:11:05 +00:00
2024-06-18 18:53:18 +00:00
2023-01-16 15:12:38 +00:00
2024-05-22 20:06:49 +00:00
2024-06-12 20:51:31 +00:00
2023-01-16 15:12:38 +00:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2024-06-20 14:36:36 +00:00
2024-06-12 16:45:19 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-09-05 22:15:58 +00:00
2024-02-09 14:10:49 +00:00
2024-04-17 19:14:41 +00:00
2024-04-17 19:14:41 +00:00
2023-04-12 01:11:05 +00:00
2023-09-05 22:15:58 +00:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-06-19 00:25:12 +00:00
2023-04-12 01:11:05 +00:00
2024-02-21 18:27:41 +00:00
2023-09-05 22:15:58 +00:00
2023-04-12 20:32:29 +00:00
2023-07-11 15:13:58 +00:00
2023-04-12 01:11:05 +00:00
2023-10-31 17:11:51 +00:00
2024-03-21 19:50:46 +00:00
2023-08-11 16:28:46 +00:00
2023-04-12 20:32:29 +00:00
2022-03-31 06:40:51 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-01-31 19:24:29 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-01-25 08:23:51 +00:00
2023-12-11 17:49:58 +00:00
2024-01-26 20:49:09 +00:00
2023-04-12 20:32:29 +00:00
2022-08-17 16:18:35 +00:00
2024-05-31 21:12:28 +00:00
2024-05-31 21:12:28 +00:00
2024-04-17 19:14:41 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-03-12 08:29:36 +00:00
2023-06-09 08:29:30 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-04-17 19:14:41 +00:00
2023-04-12 01:11:05 +00:00
2024-04-17 19:14:41 +00:00
2024-04-17 19:14:41 +00:00
2022-05-31 15:36:33 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2022-05-31 15:36:33 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 01:11:05 +00:00
2022-03-21 16:47:47 +00:00
2023-04-12 01:11:05 +00:00
2022-03-21 16:47:47 +00:00
2024-02-09 14:10:49 +00:00
2022-03-21 16:47:47 +00:00
2023-04-12 01:11:05 +00:00
2022-03-21 16:47:47 +00:00
2023-04-12 01:11:05 +00:00
2022-03-21 16:47:47 +00:00
2024-02-09 14:10:49 +00:00
2024-01-26 22:08:37 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-04-17 19:14:41 +00:00
2024-03-12 08:29:36 +00:00
2024-05-29 10:16:28 +00:00
2023-04-12 01:11:05 +00:00
2024-01-11 22:24:44 +00:00
2023-04-12 01:11:05 +00:00
2024-03-21 19:50:46 +00:00
2024-03-21 19:50:46 +00:00