Files
sdk/runtime/bin
Slava Egorov c2e9ceeb6b [vm/io] Cleanup long path handling on Windows
* Switch to `std::unique_ptr<wchar_t[]>` to represent a
dynamically strings instead of wrappers like
`StringRAII` and `Utf8ToWideScope`;
* Avoid back and forth conversion between UTF8 and UTF16:
convert to UTF16 first then work on that. This also simplifies
code - previously it tried to work with strings allocated in
different ways uniformly, which is actually unnecessary if
resulting string needs to be converted to UTF16 (and allocated
with `malloc`) anyway;
* Fix a bug in `File::CreateLink`: it was handling relative
links with long paths incorrectly. Change file_long_path_test
to cover this case and make it run on non-Windows systems as
well to ensure that all behavior that can match actually
matches.

TEST=ci

Change-Id: I1279aff1d2cdace5e2ce8633c2f7ea69a34fe41a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356680
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2024-03-12 08:29:36 +00:00
..
2024-03-12 08:03:30 +00:00
2023-12-21 22:35:59 +00:00
2023-12-21 22:35:59 +00:00
2024-02-29 11:18:51 +00:00
2023-01-25 14:08:27 +00:00
2023-01-06 07:48:22 +00:00
2024-02-14 00:08:30 +00:00
2023-04-18 20:56:00 +00:00
2024-02-29 11:18:51 +00:00
2023-01-16 15:12:38 +00:00
2023-01-16 15:12:38 +00:00
2023-06-09 08:29:30 +00:00