🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Douglas Rand Mon, 24 Jul 1989 17:47
BASH 1.02 Cntl-D problem
#375
Author: Douglas Rand
Date: Mon, 24 Jul 1989 17:47
5 lines
535 bytes
When I type ^D to the BASH shell I get a segmentation fault.  BASH was built
using BISON and GCC on a SUN3 running SUNOS4.0.  Any thoughts?

Doug
BASH 1.02 Cntl-D problem
#377
Author: Brian Fox
Date: Tue, 25 Jul 1989 05:41
29 lines
1329 bytes
   Date: Mon, 24 Jul 89 13:47:01 EDT
   From: doug@zaphod.prime.com (Douglas Rand)


   When I type ^D to the BASH shell I get a segmentation fault.  BASH was built
   using BISON and GCC on a SUN3 running SUNOS4.0.  Any thoughts?

   Doug

*** parse.y.~2~ Sat Jul  8 13:23:24 1989
--- parse.y     Mon Jul 10 09:16:44 1989
***************
*** 430,435 ****
--- 430,443 ----
        current_readline_line = readline (current_readline_prompt);

        current_readline_line_index = 0;
+
+       if ((long) current_readline_line == (long) EOF)
+       {
+         current_readline_line = (char *) NULL;
+         current_readline_line_index = 0;
+         return (EOF);
+       }
+
        current_readline_line =
        (char *)xrealloc (current_readline_line,
                          2 + strlen (current_readline_line));
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads