blob: 6074df5721f0f0bff05fce0ecf5995683d3c989a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: herdr maintainers <maintainers@herdr.dev>
Date: Tue, 23 Jun 2026 00:00:00 +0000
Subject: [PATCH] force system ConPTY
Herdr should use the ConPTY functions exported by kernel32.dll and must not
load a bare conpty.dll from PATH. portable-pty's sideload probe is intentional
for WezTerm's bundled OpenConsole.exe/conpty.dll pair, but Herdr does not ship
that pair.
Herdr issue: https://github.com/ogulcancelik/herdr/issues/761
Vendored base: portable-pty 0.9.0
---
vendor/portable-pty/src/win/psuedocon.rs | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/vendor/portable-pty/src/win/psuedocon.rs b/vendor/portable-pty/src/win/psuedocon.rs
index 0000000..0000000 100644
--- a/vendor/portable-pty/src/win/psuedocon.rs
+++ b/vendor/portable-pty/src/win/psuedocon.rs
@@ -49,14 +49,7 @@ fn load_conpty() -> ConPtyFuncs {
"this system does not support conpty. Windows 10 October 2018 or newer is required",
);
-
- // We prefer to use a sideloaded conpty.dll and openconsole.exe host deployed
- // alongside the application. We check for this after checking for kernel
- // support so that we don't try to proceed and do something crazy.
- if let Ok(sideloaded) = ConPtyFuncs::open(Path::new("conpty.dll")) {
- sideloaded
- } else {
- kernel
- }
+
+ kernel
}
lazy_static! {
|