Ryan Liptak
93b35c6999
os.isCygwinPty: Fix a bug, replace kernel32 call, and optimize
...
- Fixes the first few code units of the name being omitted (it was using `@sizeOf(FILE_NAME_INFO)` as the start of the name bytes, but that includes the length of the dummy [1]u16 field and padding; instead the start should be the offset of the dummy [1]u16 field)
- Replaces kernel32.GetFileInformationByHandleEx call with ntdll.NtQueryInformationFile
+ Contributes towards #1840
- Checks that the handle is a named pipe first before querying and checking the name, which is a much faster call than NtQueryInformationFile (this was about a 10x speedup in my probably-not-so-good/take-it-with-a-grain-of-salt benchmarking)
2023-03-08 04:26:50 -08:00
..
2023-02-18 19:17:21 -07:00
2023-03-03 13:50:44 -05:00
2023-02-21 22:06:25 +11:00
2023-03-07 10:04:45 +01:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-08 04:26:50 -08:00
2023-02-21 12:09:27 +11:00
2023-02-27 22:04:29 -07:00
2023-03-06 15:59:18 -05:00
2023-02-18 19:17:21 -07:00
2023-03-05 02:59:01 -05:00
2023-02-15 01:43:57 +02:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-08 04:26:50 -08:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-04 01:08:03 +02:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-04 05:39:14 -05:00
2023-02-18 19:17:21 -07:00
2023-03-03 02:37:45 -05:00
2023-03-03 07:49:05 -05:00
2023-02-18 19:17:21 -07:00
2023-02-22 00:11:20 +11:00
2023-02-18 19:17:21 -07:00
2023-03-02 06:13:40 +00:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-07 17:45:31 -05:00
2023-03-03 02:37:45 -05:00
2023-02-27 05:37:03 -05:00
2023-02-20 09:09:05 +11:00
2023-02-18 19:17:21 -07:00
2023-03-01 12:21:53 -05:00
2023-02-18 19:17:21 -07:00
2023-02-20 13:55:45 -05:00
2023-02-18 19:17:21 -07:00
2023-03-06 05:58:46 -05:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-08 04:26:50 -08:00
2023-02-19 10:10:59 -05:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-03-03 07:49:05 -05:00
2023-02-18 19:17:21 -07:00
2023-02-21 12:58:34 +11:00
2023-02-18 19:17:21 -07:00
2023-02-21 12:28:43 -05:00
2023-02-17 09:08:41 -07:00
2023-03-03 07:49:05 -05:00
2023-03-06 08:09:32 -05:00
2023-02-18 19:17:21 -07:00
2023-02-18 19:17:21 -07:00
2023-02-03 00:06:11 -07:00