<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Thu, 11 Aug 2022 17:16:42 +0000 (18:16 +0100)
committerCamm Maguire <camm@debian.org>
Thu, 11 Aug 2022 17:16:42 +0000 (18:16 +0100)
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

gcl (2.6.12-111) unstable; urgency=medium

  * Version_2.6.13pre108

Gbp-Pq: Name Version_2.6.13pre108

o/main.c

index ea79d4bac79e2769a90c4a3971f3e236a23adb02..8bbc5a6334b285c66abb902cfb24bc9b4bd27176 100755 (executable)
--- a/o/main.c
+++ b/o/main.c
@@ -568,6 +568,10 @@ main(int argc, char **argv, char **envp) {
     
   } else {
 
+    terminal_io->sm.sm_object0->sm.sm_fp = stdin;
+    terminal_io->sm.sm_object1->sm.sm_fp = stdout;
+    standard_error->sm.sm_fp = stderr;
+
     gcl_init_big1();
 #ifdef USE_READLINE
     gcl_init_readline_function();