From a3dd74b5ff36af310382c19e959869a8fc847d69 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 30 Jul 2004 00:47:58 +0000 Subject: Fixing foreign keyboard issue Fixeing "segfault on quit" issue --- cd-tool.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cd-tool.cpp b/cd-tool.cpp index 14f0f0b..66ad69e 100644 --- a/cd-tool.cpp +++ b/cd-tool.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: cd-tool.cpp,v 1.30 2004-05-03 12:55:04 pixel Exp $ */ +/* $Id: cd-tool.cpp,v 1.31 2004-07-30 00:47:58 pixel Exp $ */ #define WIP @@ -495,6 +495,7 @@ virtual int startup() throw (GeneralException) { /* Interactive mode loop */ strcpy(prompt, "> "); rl_bind_key('\t', rl_insert); + rl_getc_function = getc; while (interactive) { /* Basic usage of readline */ if (line_read) @@ -559,8 +560,8 @@ virtual int startup() throw (GeneralException) { /* Finishing off the work, cleaning out the dust */ if (output) { - delete build_iso; delete build; + delete build_iso; } if (file) { -- cgit v1.2.3