Skip to content

Instantly share code, notes, and snippets.

@jsm222
Last active December 5, 2023 16:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsm222/1de28f4e45cf6435e0061e9b3654cf6b to your computer and use it in GitHub Desktop.
Save jsm222/1de28f4e45cf6435e0061e9b3654cf6b to your computer and use it in GitHub Desktop.
--- src/ck-sysdeps-unix.c.orig 2022-08-26 23:08:43 UTC
+++ src/ck-sysdeps-unix.c
@@ -328,7 +328,7 @@ ck_get_a_console_fd (void)
}
#endif
-
+#if 0
#ifdef _PATH_TTY
fd = ck_open_a_console (_PATH_TTY);
if (fd >= 0) {
@@ -345,7 +345,7 @@ ck_get_a_console_fd (void)
if (fd >= 0) {
goto done;
}
-
+#endif
#ifdef _PATH_CONSOLE
fd = ck_open_a_console (_PATH_CONSOLE);
if (fd >= 0) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment