Dmitry Vasilyev
225e14e5b6
[Support][Windows] Use the original path if GetFinalPathNameByHandleW() failed ( #87749 )
...
The commit f11b056c (#76304 ) breaks `clang` and other tools if they are
used from a RAMDrive. `GetFinalPathNameByHandleW()` may return 0 and
GetLastError 0x28. This patch fixes that issue. Note `real_path()` uses
`openFileForRead()` but it reports the error only if failed to open a
file. Getting `RealPath` is optional functionality.
BTW, `sys::fs::real_path()` resolves not only symlinks, but also network
drives and virtual drives created by the `subst` tool. It may break an
automation. It is better to detect symlinks and resolve only symlinks.
2024-04-05 22:40:07 +04:00
..
2024-01-24 14:33:45 +01:00
2024-04-01 22:59:53 +02:00
2024-04-05 22:40:07 +04:00
2024-02-14 14:11:56 -08:00
2023-11-03 18:19:33 +00:00
2024-04-04 17:24:16 +01:00
2023-12-03 10:34:48 -08:00
2024-03-12 10:56:51 -04:00
2024-03-22 14:47:31 -07:00
2023-10-08 00:11:15 -07:00
2023-11-02 21:41:00 -07:00
2023-10-09 00:54:47 -07:00
2024-02-27 14:13:00 -05:00
2023-11-03 18:19:33 +00:00
2024-01-17 20:22:58 -08:00
2023-10-12 15:42:56 -04:00
2024-03-19 17:16:47 -07:00
2023-10-12 21:21:45 -07:00
2024-04-05 10:01:09 -07:00
2024-03-09 09:45:48 -05:00
2023-04-25 16:03:34 -04:00
2023-11-29 12:47:27 -08:00
2023-11-03 18:19:33 +00:00
2023-06-13 10:47:18 +01:00
2024-02-13 14:34:58 +00:00
2023-10-12 21:21:45 -07:00
2023-11-03 18:19:33 +00:00
2023-05-30 14:12:20 -07:00
2023-07-13 21:06:39 +01:00
2024-03-01 14:53:54 -05:00
2024-02-13 18:35:39 -08:00
2024-01-17 20:22:58 -08:00
2023-10-05 22:33:58 -04:00
2023-07-06 12:27:48 +02:00
2023-09-14 19:46:53 +03:00
2024-03-28 11:41:49 +00:00
2024-04-02 08:35:08 -07:00
2023-09-12 16:51:58 -07:00
2024-01-17 20:22:58 -08:00
2024-03-19 16:22:30 -05:00
2024-03-19 16:22:30 -05:00
2024-01-11 19:08:28 -05:00
2023-06-25 15:42:22 +01:00
2024-03-12 12:10:30 +00:00
2024-03-08 23:30:33 -08:00
2023-05-06 14:35:26 +02:00
2024-03-08 23:30:33 -08:00
2024-02-12 14:52:08 -08:00
2024-01-31 11:14:02 +01:00
2024-03-06 23:45:11 -05:00
2024-03-08 23:30:33 -08:00
2024-03-08 23:30:33 -08:00
2024-03-08 23:30:33 -08:00
2023-09-12 16:55:34 -04:00
2023-05-08 18:56:09 +02:00
2023-12-01 11:28:42 -08:00
2024-03-22 23:21:11 +08:00
2023-09-23 13:17:46 -07:00
2023-09-23 13:17:46 -07:00
2023-12-23 22:21:52 -08:00
2024-01-22 00:39:11 -08:00
2023-09-01 18:25:16 -07:00
2023-12-11 15:30:28 -08:00
2023-10-06 16:33:13 -05:00
2024-02-02 20:01:51 +00:00
2024-01-31 23:54:07 -08:00
2023-08-03 11:12:05 -07:00
2023-05-12 17:09:26 -07:00
2023-05-11 21:33:39 -07:00
2023-07-19 18:57:55 +00:00
2024-03-02 19:10:50 -08:00
2024-03-19 11:03:18 -07:00
2023-08-03 10:52:57 -07:00
2024-01-17 22:55:58 +01:00
2024-01-17 22:55:58 +01:00
2024-01-17 22:55:58 +01:00
2024-01-17 22:55:58 +01:00
2024-01-13 18:18:49 -08:00
2024-03-15 09:01:41 -07:00
2023-07-18 13:36:11 -07:00
2023-11-10 07:19:24 +07:00
2023-10-16 15:14:17 -05:00