🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David Newall Thu, 18 Jan 1990 20:58
EOF bug in bash-1.02
#848
Author: David Newall
Date: Thu, 18 Jan 1990 20:58
29 lines
1233 bytes
DESCRIPTION:
	Bash core dumps when EOF (Control/D) is entered

REPEAT BY:
	bash$ ^D

FIX:
	Apply the following patch

*** parse.y	Thu Jan 18 14:56:33 1990
--- parse.y.orig	Thu Jan 18 15:03:12 1990
***************
*** 428,434 ****
  	current_readline_line = readline ("");
        else
  	current_readline_line = readline (current_readline_prompt);
-       if (current_readline_line == (char *) EOF) return(EOF);
  
        current_readline_line_index = 0;
        current_readline_line =
--- 428,433 ----


David Newall                     Phone:   +61 8 343 3160
Unix Systems Programmer          Fax:     +61 8 349 6939
Academic Computing Service       E-mail:  ccdn@levels.sait.oz{.au}
SA Institute of Technology       UUCP:    uunet!munnari!pisa.sait.oz!ccdn
The Levels, SA, 5095, Australia  VAX PSI: 505282622004::ccdn
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