diff options
author | pixel <pixel> | 2004-07-30 00:47:58 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-07-30 00:47:58 +0000 |
commit | a3dd74b5ff36af310382c19e959869a8fc847d69 (patch) | |
tree | f23da50443a04527ce1b29203722dc31f2745bbe | |
parent | 280cacae2889bb2b838cda2926af3d9e90c540a9 (diff) |
Fixing foreign keyboard issue
Fixeing "segfault on quit" issue
-rw-r--r-- | cd-tool.cpp | 5 |
1 files 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) { |