We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d205a1 commit 0fa20c7Copy full SHA for 0fa20c7
sshd.c
@@ -856,14 +856,12 @@ send_rexec_state(int fd)
856
struct sshbuf *keys;
857
u_int mlen;
858
pid_t pid;
859
-#ifdef FORK_NOT_SUPPORTED
860
- // TODO: Implement a Windows-specific way to handle debug mode
861
-#else /* FORK_NOT_SUPPORTED */
+#ifndef WINDOWS
862
if ((pid = fork()) == -1)
863
fatal_f("fork failed: %s", strerror(errno));
864
if (pid != 0)
865
return;
866
-#endif /* FORK_NOT_SUPPORTED */
+#endif /* !WINDOWS */
867
868
debug3_f("entering fd = %d config len %zu", fd,
869
sshbuf_len(config));
0 commit comments