genode/repos/ports/src/noux-pkg/bash/check_dev_tty.patch
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

26 lines
636 B
Diff

Don't call 'check_dev_tty()'
From: Christian Prochaska <christian.prochaska@genode-labs.com>
The 'check_dev_tty()' function calls 'ttyname()', which calls the pthread
stub function 'pthread_main_np()', which prints a 'not implemented'
message. Calling 'check_dev_tty()' doesn't seem to be necessary, so this
patch removes the call.
---
shell.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/shell.c b/shell.c
index 1cadd61..2dd99e3 100644
--- a/shell.c
+++ b/shell.c
@@ -392,8 +392,6 @@ main (argc, argv, env)
# endif
#endif
- check_dev_tty ();
-
#ifdef __CYGWIN__
_cygwin32_check_tmp ();
#endif /* __CYGWIN__ */